summaryrefslogtreecommitdiff
path: root/cli/flags.rs
AgeCommit message (Collapse)Author
2021-02-21fix(cli): capitalize inspect and inspect-brk descriptions (#9567)Casper Beyer
2021-02-21feat: add --ext flag to deno eval (#9295)Satya Rohith
This PR deprecates the "--ts"/"-T" flag of "deno eval" (which will later be removed in 2.0) and introduces "--ext" which is used by "deno fmt" for content type selection. This is to ensure we have a single flag that can be used across subcommands to select the language (JS/TS).
2021-02-18feat: add json(c) support to deno fmt (#9292)Satya Rohith
This commit adds support for formatting JSON and JSONC in "deno fmt". New values "json" and "jsonc" are added to "--ext" flag for standard input processing.
2021-02-16feat(cli): support auth tokens for accessing private modules (#9508)Kitson Kelly
Closes #5239
2021-01-26fix(cli): fmt command help message (#9280)akfm
2021-01-24fix(cli/flags): don't panic on invalid location scheme (#9202)Nayeem Rahman
2021-01-19chore: add compile aarch64-apple-darwin target (#9174)Luca Casonato
2021-01-19feat: add markdown support to deno fmt (#8887)Satya Rohith
This commit adds support for formatting markdown files with "deno fmt". Additionally "--ext={js|jsx|ts|tsx|md}" flag was added to "deno fmt" that allows to specify file type when providing contents over stdio.
2021-01-19fix: panic during `deno compile` with no args (#9167)Luca Casonato
2021-01-19feat: Standalone lite binaries and cross compilation (#9141)Bartek Iwańczuk
This commit adds --target and --lite flags to deno compile subcommand. --target allows to cross-compile binary to different target architectures by fetching appropriate binary from remote server on first run. All downloaded binaries are stored in "$DENO_DIR/dl". --lite allows to use lite version of the runtime (ie. the one that doesn't contain built-in tooling like formatter or linter).
2021-01-17fix(op_crates/web): Use WorkerLocation for location in workers (#9084)Nayeem Rahman
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2021-01-08feat: denort binary (#9041)Luca Casonato
This commit adds new binary target called "denort". It is a "lite" version of "deno" binary that can only execute code embedded inside the binary itself. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-01-07feat: add --location=<href> and globalThis.location (#7369)Nayeem Rahman
2021-01-05feat(cli/standalone): support runtime flags for deno compile (#8738)Nayeem Rahman
2020-12-29refactor(cli/flags): change allow_read/write/net types from bool to ↵Yusuke Tanaka
Option<Vec<T>> (#8896) This PR refactors "cli/flags.rs" and "runtime/permissions.rs" so that "allow_read", "allow_write" and "allow_net" themselves have allowlists, instead of storing them in additional fields.
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