summaryrefslogtreecommitdiff
path: root/cli/flags.rs
AgeCommit message (Collapse)Author
2020-01-08Remove xeval subcommand (#3630)Ry Dahl
2020-01-08feat(flags): script arguments come after '--' (#3621)Ry Dahl
2020-01-08Upgrade subcommands to 0.28.1 (#3620)Ry Dahl
2020-01-02Happy new year! (#3578)Ry Dahl
2020-01-02fix typos (#3573)EnokMan
2019-12-15feat: show detailed version with --version (#3507)Yoshiya Hinosawa
2019-12-14flag: upgrade std to v0.26.0 (#3492)Axetroy
2019-12-05Revert "Synchronize deno and deno_std versions" (#3446)Ry Dahl
Preventing release v0.26.0 This reverts commit 81efa9d938aa169d16e67762d336d75738375cd6.
2019-12-05feat: first pass at native plugins (#3372)Andy Finch
2019-12-03feat: Add --no-remote, rename --no-fetch to --cached-only (#3417)Nayeem Rahman
2019-12-03remove duplicated argv member from ThreadSafeGlobalState (#3433)Ry Dahl
2019-11-29synchronize deno and deno_std versions (#3415)Axetroy
2019-11-26Tweaks to arg_hacks and add v8-flags to repl (#3409)Kevin (Kun) "Kassimo" Qian
2019-11-26refactor: reorganize flags (#3389)Ry Dahl
- Remove ability to specify run arguments like `--allow-net` after the script argument. It's too hacky to make work with clap. - Remove `--v8-options`, instead use `--v8-flags=--help` - Give more descriptive names to unit tests in flags.rs - Assume argv and subcommand into DenoFlags struct so the output of flags module is only DenoFlags rather than the tuple (subcommand, flags, argv). - Improve CLI help text - Make `deno run` specific args like `--allow-net` only show up in 'deno help run' instead of as global flags in `deno help`. - Removes `deno version` to simplify our implementation and be closer to clap defaults. `deno -V` now only shows Deno's version and not V8's nor TypeScript. `Deno.versions` can be used to see that information. - Prevent clap from auto-detecting terminal width and attempting to wrap text.
2019-11-18feat: add --check for deno fmt (#3369)罗文
2019-11-16fmt: respect prettierrc and prettierignore (#3346)罗文
2019-11-13fmt: allow configuration of Prettier options (#3314)罗文
2019-11-13Make bundles fully standalone (#3325)Kitson Kelly
- Bundles are fully standalone. They now include the shared loader with `deno_typescript`. - Refactor of the loader in `deno_typescript` to perform module instantiation in a more - Change of behaviour when an output file is not specified on the CLI. Previously a default name was determined and the bundle written to that file, now the bundle will be sent to `stdout`. - Refactors in the TypeScript compiler to be able to support the concept of a request type. This provides a cleaner abstraction and makes it easier to support things like single module transpiles to the userland. - Remove a "dangerous" circular dependency between `os.ts` and `deno.ts`, and define `pid` and `noColor` in a better way. - Don't bind early to `console` in `repl.ts`. - Add an integration test for generating a bundle.
2019-11-12flags: bump deno_std to v0.23.0 (#3322)罗文
2019-11-04Remove tsconfig files - they are not part of build process (#3262)Ry Dahl
2019-11-03feat: lockfiles (#3231)Ry Dahl
Use --lock-write=lock.json or --lock-check=lock.json on the command line.
2019-10-22remove --no-prompt flag, fail on missing permissions (#3183)Yoshiya Hinosawa
2019-10-21update: use v0.21.0 for subcommands (#3168)Yusuke Sakurai
2019-10-17feat: --reload flag to take arg for partial reload (#3109)Michał Sabiniarz
Example: To reload only std modules --reload=https://deno.land/std/
2019-10-12support --allow-net=:4500 (#3115)Bartek Iwańczuk
2019-10-12Update various links to deno_std (#3096)Ryan Dahl
2019-10-04Use xeval from deno_std (#3058)Nayeem Rahman
2019-10-03Update rust to 1.38.0 (#3030)Andy Hayden
2019-09-28bump deno_std deps (#3034)Bartek Iwańczuk
2019-09-24test: add HTTP_PROXY tests (#2977)Bartek Iwańczuk
2019-09-12Keep all deno_std URLs in sync (#2930)Ryan Dahl
2019-09-12bump prettier revision (#2928)Bartek Iwańczuk
2019-09-01Remove DenoSubcommand::Install (#2846)Nayeem Rahman
2019-08-21bump test runner revision (#2800)Bartek Iwańczuk
2019-08-16chore: bump test runner version (#2784)Bartek Iwańczuk
2019-08-15add deno test subcommand (#2783)Bartek Iwańczuk
2019-08-11feat: print cache location when no arg in deno info (#2752)Bartek Iwańczuk
2019-07-31Use system rustfmt instead of fixed binary (#2701)Ryan Dahl
2019-07-31Add --current-thread flag (#2702)Bartek Iwańczuk
2019-07-27make importmap flag global (#2687)Bartek Iwańczuk
2019-07-27cli: handle deno -v and deno --version (#2684)Bartek Iwańczuk
2019-07-26cli: unify deno -h options (#2682)Bartek Iwańczuk
2019-07-20fix: bring back --no-fetch flag (#2671)Bartek Iwańczuk
2019-07-17Refactor DenoDir (#2636)Bartek Iwańczuk
* rename `ModuleMetaData` to `SourceFile` and remove TS specific functionality * add `TsCompiler` struct encapsulating processing of TypeScript files * move `SourceMapGetter` trait implementation to `//cli/compiler.rs` * add low-level `DiskCache` API for general purpose caches and use it in `DenoDir` and `TsCompiler` for filesystem access * don't use hash-like filenames for compiled modules, instead use metadata file for storing compilation hash * add `SourceFileCache` for in-process caching of loaded files for fast subsequent access * define `SourceFileFetcher` trait encapsulating loading of local and remote files and implement it for `DenoDir` * define `use_cache` and `no_fetch` flags on `DenoDir` instead of using in fetch methods
2019-07-10fix for '-' arg after script name (#2631)Bartek Iwańczuk
2019-07-09Update deno.land links v0.11 (#2628)Ryan Dahl
2019-07-08cli: generate default file name for bundle when URL ends in a slashBert Belder
2019-07-08core: replace ModuleSpecifier::to_url() by as_url()Bert Belder
2019-07-08core: clearly define when module lookup is path-based vs URL-basedBert Belder
The rules are now as follows: * In `import` statements, as mandated by the WHATWG specification, the import specifier is always treated as a URL. If it is a relative URL, it must start with either / or ./ or ../ * A script name passed to deno as a command line argument may be either an absolute URL or a local path. - If the name starts with a valid URI scheme followed by a colon, e.g. 'http:', 'https:', 'file:', 'foo+bar:', it always interpreted as a URL (even if Deno doesn't support the indicated protocol). - Otherwise, the script name is interpreted as a local path. The local path may be relative, and operating system semantics determine how it is resolved. Prefixing a relative path with ./ is not required.
2019-06-29fix: test output for completions (#2597)Bartek Iwańczuk