summaryrefslogtreecommitdiff
path: root/cli/flags.rs
AgeCommit message (Collapse)Author
2022-06-27refactor: create `args` folder (#14982)David Sherret
2022-06-27fix(docs): --watch arg is stable (#14970)Geert-Jan Zwiers
2022-06-18fix(docs): update description of `--check` flag (#14890)Geert-Jan Zwiers
2022-06-13feat: no type-check by default (#14691)Bartek Iwańczuk
This commit changes default default behavior of type checking for several subcommands. Instead of type checking and reporting type errors only for local files, the type checking is skipped entirely. Type checking can still be enabled using the "--check" flag. Following subcomands are affected: - deno cache - deno install - deno eval - deno run
2022-06-13fix(cli): add config flag to `deno info` (#14706)Mark Ladyshau
2022-06-08feat(task): add `--cwd` flag for configuring the working directory (#14823)Kayla Washburn
2022-05-17feat: subcommands type-check only local files by default (#14623)Bartek Iwańczuk
This commit changes default mode of type-checking to "local" and adds "--check" flag to following subcommands: - deno bench - deno bundle - deno cache - deno compile - deno eval - deno install - deno test
2022-05-13feat: add --no-config flag (#14555)Bartek Iwańczuk
This flag disables loading of configuration file, ie. it will not be automatically discovered and loaded. Of course this flag conflicts with "--config" flag and they cannot be used together.
2022-05-11fix(task): accept double hyphen arg immediately following task name (#14567)David Sherret
2022-05-09feat(cli): add deno version to manual links (#14505)Mark Ladyshau
2022-04-29fix(task): support forwarding lone double hyphen (#14436)David Sherret
2022-04-29fix(task): allow hyphen values after task name (#14434)David Sherret
2022-04-28fix(cli): wrap long line of the env variables help (#14422)Ikumi Nakamura
2022-04-27fix: `deno task` forward double hyphen (#14419)David Sherret
2022-04-20feat(repl): add "--eval-file" flag to execute a script file on startup (#14247)Naju Mancheril
This commit adds support for "--eval-file" in "deno repl" subcommand. This flag can be used to pass paths or URLs to files, that will be executed on REPL startup. All files will be executed in the same context as the REPL (ie. as "plain old scripts", not ES modules), sharing the global scope. This feature allows to implement custom REPLs on top of Deno's REPL.
2022-04-18feat: Add DENO_NO_PROMPT variable (#14209)Nayeem Rahman
This commit adds support for "DENO_NO_PROMPT" env variable, that can be used instead of "--no-prompt" flag to completely disable permission prompts.
2022-04-13chore: rephrase env var help (#14270)Bartek Iwańczuk
2022-04-13chore: add info about DENO_FUTURE_CHECK env var to --help (#14267)Bartek Iwańczuk
2022-04-11refactor: improve help text (#14249)Ryan Dahl
2022-04-11feat: Add "deno check" subcommand for type checking (#14072)Bartek Iwańczuk
This commit adds new "deno check" subcommand. Currently it is an alias for "deno cache" with the difference that remote modules don't emit TS diagnostics by default. Prints warning for "deno run" subcommand if "--check" flag is not present and there's no "--no-check" flag. Adds "DENO_FUTURE_CHECK" env variable that allows to opt into new behavior now.
2022-04-08feat(repl): Don't type check when importing modules (#14112)Arthur Lafrance
2022-04-01chore(tests): use custom temp dir creation for the tests (#14153)David Sherret
2022-03-30feat(lsp): add experimental testing API (#13798)Kitson Kelly
Ref: denoland/vscode_deno#629
2022-03-29refactor(flags): rename CheckFlag to TypecheckMode (#14111)Bartek Iwańczuk
2022-03-28chore: update clap and completions (#14136)Robert
2022-03-14fix: shell completion hints (#13876)Leo Kettmeir
2022-03-11feat: "deno bench" subcommand (#13713)Bartek Iwańczuk
This commit adds "deno bench" subcommand and "Deno.bench()" API that allows to register bench cases. The API is modelled after "Deno.test()" and "deno test" subcommand. Currently the output is rudimentary and bench cases and not subject to "ops" and "resource" sanitizers. Co-authored-by: evan <github@evan.lol>
2022-03-10feat: "deno task" subcommand (#13725)Bartek Iwańczuk
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-02-26fix(test): use --no-prompt by default (#13777)Bartek Iwańczuk
This commit changes "deno test" subcommand, to always never prompt for permissions (ie. as if "deno test" was run with "--no-prompt" flag).
2022-02-25feat: deno test --trace-ops (#13770)Bartek Iwańczuk
This commit adds "--trace-ops" flag to "deno test" subcommand. This flag enables saving of stack traces for async ops, that before were always saved. While the feature proved to be very useful it comes with a significant performance hit, it's caused by excessive source mapping of stack frames.
2022-02-25fix(cli): disable config discovery for remote script (#13745)Yoshiya Hinosawa
2022-02-24chore: upgrade to Rust 1.59 (#13767)David Sherret
2022-02-16feat: deno vendor (#13670)David Sherret
2022-02-15feat(coverage): add "--output" flag (#13289)VishnuJin
This commit adds "--output" to "deno coverage" subcommand. It can be used instead of piping output to a file. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-02-12feat: permission prompt by default (#13650)Ryan Dahl
2022-02-11refactor: use `Arc` instead of making copies of `Flags` struct (#13610)Maxim
2022-01-31feat(cli): add "--no-clear-screen" flag (#13454)Zheyu Zhang
This commit adds "--no-clear-screen" flag which can be used with "--watch" flag to disable clearing of terminal screen on each file change.
2022-01-17feat: auto-discover config file (#13313)Ryan Dahl
2022-01-14chore: upgrade clap to v3 (#13266)Leo Kettmeir
2022-01-10fix: install shim with `--allow-all` should not output each permission ↵David Sherret
individually (#13325)
2022-01-07chore: update copyright to 2022 (#13306)Ryan Dahl
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2021-12-18refactor: use `once_cell` instead of `lazy_static` (#13135)Divy Srivastava
2021-12-15feat(watch): support watching external files (#13087)Jesper van den Ende
2021-12-10feat(repl): add --unsafe-ignore-certificate-errors flag (#13045)VishnuJin
2021-11-30feat: add `--no-check=remote` flag (#12766)Kitson Kelly
Closes #11970
2021-11-09typoGeert-Jan Zwiers
2021-11-04fix(lint): use recommended tag if there is no tags in config file or flags ↵Zheyu Zhang
(#12644)
2021-10-13fix(runtime/ops/worker_host): move permission arg parsing to Rust (#12297)Nayeem Rahman
2021-10-06feat(compat): inject Node globals (#12342)Bartek Iwańczuk
This commit adds automatic injection of Node globals when "--compat" flag is present. This is done by executing "https://deno.land/std/node/global.ts" as a "side module", before main module is executed. This commit makes "--compat" required to be used with "--unstable" flag, as some of Node globals require unstable Deno APIs.
2021-10-05feat(lint): add support for --watch flag (#11983)CGQAQ