summaryrefslogtreecommitdiff
path: root/cli/flags.rs
AgeCommit message (Collapse)Author
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
2020-08-27fix(deno install): Strip "@..." suffixes from inferred names (#7223)Nayeem Rahman
2020-08-26fix(cli): revert "never type check deno info #6978" (#7199)Luca Casonato
2020-08-15fix: add `NO_PROXY` to `deno help` and add test (#7048)Tomofumi Chiba
2020-08-14fix: Dash Value Treated As Arg (#7039)Jarrett Helton
2020-08-13feat: Add "--json" flag to deno lint (#6940)souldzin
Co-authored-by: JackSkylark <jdslaughter44@gmail.com>
2020-08-12feat: add support for --no-check flag in Deno install (#6948)Jarrett Helton
2020-08-12feat(bundle): add support for --reload flag (#6996)Jarrett Helton
2020-08-12feat: add "--ignore" to deno lint (#6934)Divy Srivastava
2020-08-12feat: deno info --reload (#7009)Nayeem Rahman
2020-08-07fix(deno info): Never type check (#6978)Nayeem Rahman
2020-07-30feat(unstable): add "--ignore" flag to deno fmt (#6890)Divy Srivastava
2020-07-12feat(cli): add DENO_CERT environment variable (#6370)Oscar Linde
2020-07-12feat(install): add --config flag (#6204)simwipado
This commits adds support for "--config" flag in "deno install" subcommand. Specified configuration file is copied alongside source code to installation directory.
2020-07-12feat(doc): Improve terminal printer (#6594)Valentin Anger
- Add more support for generics - Add the --private flag - displays documentation for not exported and private nodes - Display more attributes like abstract, static and readonly - Display type aliases - Refactor module to use the Display trait - Use a bit more color
2020-07-08feat(cli): json option for "deno info" (#6372)Emmanuel
2020-07-08feat: add --no-check option (#6456)Kitson Kelly
This commit adds a "--no-check" option to following subcommands: - "deno cache" - "deno info" - "deno run" - "deno test" The "--no-check" options allows to skip type checking step and instead directly transpiles TS sources to JS sources. This solution uses `ts.transpileModule()` API and is just an interim solution before implementing it fully in Rust.
2020-07-07feat(test): Add support for regex in filter flag (#6343)Sebastien Filion
Currently, the documentation makes it sound like the test subcommand's filter flag could accept some kind of pattern matching value like a glob or a regex, although the function "createFilterFn" accepts a regex as an argument, there's no way to pass an actual regex value from the CLI. This commit makes it possible to pass a string that could be cast as regex when string matches "^/.*/$". With this change, a user can use the filter flag as follow: deno test --filter "/test-.+/" Also tested that `\` get escaped properly, on MacOS at least, and this is also a valid flag: deno test --filter "/test-\d+/"
2020-07-07feat: add lockfile support to bundle (#6624)Takahiko Inayama
2020-07-06feat: deno upgrade --output (#6352)crowlKats
2020-07-05feat(cli): Added support for the --cert flag with 'deno upgrade' (#6609)Jacob Gee-Clarke
2020-07-02refactor: lock file (#6569)Bartek Iwańczuk
- refactor lock file creation - provide deterministic output in lock file (alphabetically sorted) - dynamic imports are checked against lock file
2020-06-26Re-land "fix(cli): ipv6 parsing for --allow-net params" (#6472)Bartek Iwańczuk
With some minor adjustments
2020-06-25Revert "fix(cli): ipv6 parsing for --allow-net params (#6453)" (#6458)Bartek Iwańczuk
2020-06-24fix(cli): ipv6 parsing for --allow-net params (#6453)Colin Harrington
Co-authored-by: Liming Jin <jinliming2@gmail.com>
2020-06-18docs: Update standard library and testing manual pages (#6323)Chris Knight
2020-06-15Fix DENO_DIR docs (#6271)Ryan Dahl
2020-06-13Move to allowlist and blocklist (#6282)Luca Casonato
2020-06-12document "deno run -" (#6256)Jaap Aarts
2020-06-12feat(lint): add --rules flag (#6264)Bartek Iwańczuk
2020-06-12docs(lint): add entry in manual (#6258)Bartek Iwańczuk
2020-06-10feat(lint): use default globs, upgrade to v0.1.9 (#6222)Bartek Iwańczuk
This commit: * added default file globs so "deno lint" can be run without arguments (just like "deno fmt") * added test for globs in "deno lint" * upgrade "deno_lint" crate to v0.1.9