summaryrefslogtreecommitdiff
path: root/cli/flags.rs
AgeCommit message (Collapse)Author
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)罗文
2019-11-13fmt: allow configuration of Prettier options (#3314)罗文
2019-11-13Make bundles fully standalone (#3325)Kitson Kelly
- Bundles are fully standalone. They now include the shared loader with `deno_typescript`. - Refactor of the loader in `deno_typescript` to perform module instantiation in a more - Change of behaviour when an output file is not specified on the CLI. Previously a default name was determined and the bundle written to that file, now the bundle will be sent to `stdout`. - Refactors in the TypeScript compiler to be able to support the concept of a request type. This provides a cleaner abstraction and makes it easier to support things like single module transpiles to the userland. - Remove a "dangerous" circular dependency between `os.ts` and `deno.ts`, and define `pid` and `noColor` in a better way. - Don't bind early to `console` in `repl.ts`. - Add an integration test for generating a bundle.
2019-11-12flags: bump deno_std to v0.23.0 (#3322)罗文
2019-11-04Remove tsconfig files - they are not part of build process (#3262)Ry Dahl
2019-11-03feat: lockfiles (#3231)Ry Dahl
Use --lock-write=lock.json or --lock-check=lock.json on the command line.
2019-10-22remove --no-prompt flag, fail on missing permissions (#3183)Yoshiya Hinosawa
2019-10-21update: use v0.21.0 for subcommands (#3168)Yusuke Sakurai
2019-10-17feat: --reload flag to take arg for partial reload (#3109)Michał Sabiniarz
Example: To reload only std modules --reload=https://deno.land/std/
2019-10-12support --allow-net=:4500 (#3115)Bartek Iwańczuk
2019-10-12Update various links to deno_std (#3096)Ryan Dahl
2019-10-04Use xeval from deno_std (#3058)Nayeem Rahman
2019-10-03Update rust to 1.38.0 (#3030)Andy Hayden
2019-09-28bump deno_std deps (#3034)Bartek Iwańczuk
2019-09-24test: add HTTP_PROXY tests (#2977)Bartek Iwańczuk
2019-09-12Keep all deno_std URLs in sync (#2930)Ryan Dahl
2019-09-12bump prettier revision (#2928)Bartek Iwańczuk
2019-09-01Remove DenoSubcommand::Install (#2846)Nayeem Rahman
2019-08-21bump test runner revision (#2800)Bartek Iwańczuk
2019-08-16chore: bump test runner version (#2784)Bartek Iwańczuk
2019-08-15add deno test subcommand (#2783)Bartek Iwańczuk
2019-08-11feat: print cache location when no arg in deno info (#2752)Bartek Iwańczuk
2019-07-31Use system rustfmt instead of fixed binary (#2701)Ryan Dahl