summaryrefslogtreecommitdiff
path: root/cli/flags.rs
AgeCommit message (Collapse)Author
2020-12-21feat(unstable): record raw coverage into a directory (#8642)Casper Beyer
2020-12-14fix(cli): show canary string in long version (#8675)crowlKats
2020-12-11refactor(cli): decouple ops from ProgramState and Flags (#8659)Bartek Iwańczuk
This commit does major refactor of "Worker" and "WebWorker", in order to decouple them from "ProgramState" and "Flags". The main points of interest are "create_main_worker()" and "create_web_worker_callback()" functions which are responsible for creating "Worker" and "WebWorker" in CLI context. As a result it is now possible to factor out common "runtime" functionality into a separate crate.
2020-12-11fix(cli): zsh completions (#8718)crowlKats
2020-12-07chore(cli): unhide lsp command from CLI (#8647)Bartek Iwańczuk
2020-12-07feat: add mvp language server (#8515)Kitson Kelly
Resolves #8400
2020-12-06refactor(cli): remove Option from Flags.v8_flags (#8633)crowlKats
2020-12-01chore(cli/flags): Use deno compile --output for the out file (#8563)Nayeem Rahman
2020-11-30feat: deno compile (#8539)Luca Casonato
2020-11-30fix(cli): support passing cli arguments under `deno eval` (#8547)Kevin (Kun) "Kassimo" Qian
Fixes #8538
2020-11-29feat(cli/tools/upgrade): canary support (#8476)crowlKats
2020-11-28chore: clippy future cleanups (#8514)Kitson Kelly
2020-11-25add canary versioning (#8480)crowlKats
2020-11-23Revert "docs(cli): Fix documentation about usage of deno completions … (#8468)Bartek Iwańczuk
This reverts commit 17d4cd92133bb822ff3a4f2f5bb32dfd17f99282.
2020-11-22feat(unstable): Support --watch flag for bundle and fmt subcommands (#8276)Yusuke Tanaka
This commit adds support for "--watch" flag for "bundle" and "fmt" subcommands. In addition to this, it refactors "run --watch" command so that module resolution will occur every time the file watcher detects file addition/deletion, which allows the watcher to observe a file that is newly added to the dependency as well.
2020-11-22docs(cli): Fix documentation about usage of deno completions script (#8369)Mayank Agarwal
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-11-22chore(cli/flags): Rename --failfast to --fail-fast (#8456)Nayeem Rahman
2020-11-22feat(unstable): Add deno test --no-run (#8093)Nayeem Rahman
This commit adds new flag to "deno test" subcommand called "--no-run" that allows to preload, cache an type check.
2020-11-21fix(cli): support "deno run --v8-flags=--help" without script (#8110)Max Drosdo.www
2020-11-13refactor(cli+core): various cleanups in Rust (#8336)KNnut
2020-11-08upgrade: deno_doc, deno_lint, dprint, swc (#8292)Bartek Iwańczuk
2020-11-02add commit hash and target to long_version output (#8133)Yoshiya Hinosawa
2020-10-26Revert "feat(lint): stabilize "deno lint" subcommand (#8075)" (#8128)Bartek Iwańczuk
This reverts commit c5c48f845a4d25f064c4388fcdd4295317edf155.
2020-10-26feat(cli): pass script args for test command (#8121)Ross Weir
Closes #8096
2020-10-23Revert "feat(cli): Add deno cache --test and --worker (#7920)" (#8089)Bartek Iwańczuk
This reverts commit be15cf285dbf3a7b3025d34cb80e87e54a55dd93.
2020-10-23feat(cli): Add deno cache --test and --worker (#7920)Nayeem Rahman
2020-10-22feat(lint): stabilize "deno lint" subcommand (#8075)Bartek Iwańczuk
This commit stabilizes "deno lint" by removing the need to pass --unstable flag. --unstable is still required when using --json flag.
2020-10-22chores(cli/fmt): make --ignore stable (#7922)Divy Srivastava
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-10-21refactor(cli): use PathBuf instead of String for lint and fmt subcommands ↵Akshat Agarwal
(#8042)
2020-10-20chore: Rename --importmap to --import-map (#7032)Nayeem Rahman
--importmap still works as an alias to --import-map but is not visible in CLI help output.
2020-10-20feat(cli): add support for bundle --no-check (#8023)Kitson Kelly
Fixes #6686
2020-10-19feat(cli/installer): Add missing flags for deno install (#7601)Nayeem Rahman
This commit adds support for following flags: - deno install --importmap - deno install --no-remote - deno install --lock - deno install --lock-write - deno install --cached-only - deno install --v8-flags - deno install --seed
2020-10-12chore(cli): remove dead code (#7941)Kitson Kelly
2020-10-12feat(cli): support importmap flag with deno doc subcommand (#7821)Valentin Anger
Fixes #7783
2020-10-02refactor(repl): use an inspector session (#7763)Casper Beyer
This ports the REPL over to Rust and makes use of an inspector session to run a REPL on top of any isolate which lets make full use of rustylines various things like validators and completors without having to introduce a bunch of hard to test internal ops and glue code. An accidental but good side effect of this is that the multiple line input we previously had is now an editable multi-line input prompt that is correctly stored in the history as a single entry.
2020-09-28fix(cli/test): do not start inspector server when collecting coverage (#7718)Casper Beyer
2020-09-21fix(info): add --importmap flag (#7424)William Perron
2020-09-21fix: make --watch and --inspect conflicting args (#7610)Luca Casonato
2020-09-20fix(cli/installer): Don't reload by default (#7596)Nayeem Rahman
2020-09-20fix(cli/flags): Make --unstable a global flag (#7585)Nayeem Rahman
2020-09-18fix(bundle, eval, repl): Add missing flags (#7414)Nayeem Rahman
Restructures flag helpers and applies them consistently.
2020-09-16Re-export deno_core::url (#7525)Ryan Dahl
Also re-exports deno_core::futures and deno_core::serde_json but these are not yet used in the CLI.
2020-09-13feat(unstable): deno test --coverage (#6901)Casper Beyer
This commit adds basic support for collecting coverage data using "deno test". Currently the report is only a text added to the end of output from "deno test".
2020-09-12chore: remove --no-check from deno info (#7439)Luca Casonato
2020-09-11feat(unstable): deno run --watch (#7382)Bartek Iwańczuk
Co-authored-by: Sebastian Seedorf <mail@sebse.de>
2020-09-09feat(fmt, lint): show number of checked files (#7312)Yusuke Tanaka
2020-09-06Move JSON ops to deno_core (#7336)Bert Belder
2020-09-02fix(docs): replace "eslint-ignore-" with "eslint-disable-" (#7319)YellowBird
2020-08-31feat(lint): Add support for reading input from stdin (#7263)Yusuke Tanaka
2020-08-28test(cli/flags): restore disabled test cases (#7236)Yoshiya Hinosawa