summaryrefslogtreecommitdiff
path: root/cli/flags.rs
AgeCommit message (Collapse)Author
2020-04-28Make import maps unstable (#4934)Luca Casonato
2020-04-27feat(test): add quiet flag (#4894)Ali Hasani
2020-04-25introduce unstable flag, make a few things unstable (#4892)Ryan Dahl
2020-04-16feat(cli/installer.rs): Add DENO_INSTALL_ROOT (#4787)Nayeem Rahman
2020-04-09feat(cli/doc): Support doc for runtime built-ins (#4635)Nayeem Rahman
2020-04-07BREAKING: Rename 'deno fetch' subcommand to 'deno cache' (#4656)Akshat Agarwal
2020-04-07feat: add --importmap flag to deno bundle (#4651)Bartek Iwańczuk
2020-04-03Make inspector more robust, add --inspect-brk support (#4552)Bert Belder
2020-04-02feat: deno test --filter (#4570)Ryan Dahl
2020-04-01fix(#4554): use --inspect in repl & eval (#4562)木杉
2020-03-28feat: Add "deno doc" subcommand (#4500)Bartek Iwańczuk
2020-03-27feat: Support Inspector / Chrome Devtools (#4484)Ryan Dahl
This is a first pass implementation which is still missing several important features: - support for --inspect-brk (#4503) - support for source maps (#4501) - support for piping console.log to devtools console (#4502) Co-authored-by: Bert Belder <bertbelder@gmail.com> Co-authored-by: Matt Harrison <mt.harrison86@gmail.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-03-23feat: first pass at "deno upgrade" (#4328)bartOssh
2020-03-10doc(cli/flags): Reduce empty lines in help messages (#4312)Nayeem Rahman
2020-03-10Add global "quiet" flag (#4135)Florian Häglsperger
2020-02-28Support TypeScript eval through `deno eval -T` flag (#4141)Kevin (Kun) "Kassimo" Qian
2020-02-26DenoFlags -> Flags (#4136)Ryan Dahl
2020-02-17feat: add --cert flag for http client (#3972)geoFlux
2020-02-13Clean up fmt flags and path handling (#3988)Ryan Dahl
2020-02-11refactor: rewrite deno test, add Deno.test() (#3865)Bartek Iwańczuk
* rewrite test runner in Rust * migrate "test" and "runTests" functions from std to "Deno" namespace * use "Deno.test()" to run internal JS unit tests * remove std downloads for Deno subcommands
2020-02-11refactor: Use PathBuf for paths in flag parsing and whitelists (#3955)Nayeem Rahman
* Use PathBuf for DenoSubcommand::Bundle's out_file * Use PathBuf for DenoSubcommand::Format's files * Use PathBuf for DenoSubcommand::Install's dir * Use PathBuf for read/write whitelists
2020-02-09fmt: `deno fmt -` formats stdin and print to stdout (#3920)Kevin (Kun) "Kassimo" Qian
2020-02-08install: add --force flag and remove yes/no prompt (#3917)Kevin (Kun) "Kassimo" Qian
2020-02-06fix(cli/flags.rs): Prevent providing --allow-env flag twice (#3906)Seungho Kim
2020-02-04refactor: CLI subcommands and argv (#3886)Bartek Iwańczuk
2020-01-31Add support for multiple files in fetch command (#3845)Tim Ermilov
2020-01-30feat: deno install in Rust (#3806)Bartek Iwańczuk
//std/installer couldn't be removed due to bug, but it's now deprecated.
2020-01-30Remove --current-thread flag (#3830)Ryan Dahl
This flag was added to evaluate performance relative to tokio's threaded runtime. Although it's faster in the HTTP benchmark, it's clear the runtime is not the only perf problem. Removing this flag will simplify further refactors, in particular adopting the #[tokio::main] macro. This will be done in a follow up. Ultimately we expect to move to the current thread runtime with Isolates pinned to specific threads, but that will be a much larger refactor. The --current-thread just complicates that effort.
2020-01-29feat: dprint formatter (#3820)Bartek Iwańczuk
* rewrite fmt_test in Rust, remove tools/fmt_test.py * remove //std/prettier
2020-01-26feat: make eval support --v8-flags=... (#3797)Ben Noordhuis
Closes #3796
2020-01-20refactor: Improve path handling in permission checks (#3714)Nayeem Rahman
2020-01-16fix: Resolve read/write whitelists from CWD (#3684)Nayeem Rahman
2020-01-15Revert "feat(flags): script arguments come after '--'" (#3681)Ry Dahl
Due to complaints about ergonomics and because it breaks shebang on linux. This reverts commit 2d5457df15d8c4a81362bb2d185b5c6013faa1d8. BREAKING CHANGE
2020-01-12flag: upgrade std to v0.29.0 (#3659)uki00a
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)罗文