summaryrefslogtreecommitdiff
path: root/cli/args
AgeCommit message (Collapse)Author
2022-08-20feat: add "deno init" subcommand (#15469)Leo Kettmeir
This adds an init subcommand to that creates a project starter similar to cargo init. ``` $ deno init my_project Project initialized Run these commands to get started: cd my_project deno run main.ts deno run main_test.ts $ deno run main.ts Add 2 + 3 5 $ cat main.ts export function add(a: number, b: number): number { return a + b; } if (import.meta.main) { console.log("Add 2 + 3", add(2, 3)); } $ cat main_test.ts import { assertEquals } from "https://deno.land/std@0.151.0/testing/asserts.ts"; import { add } from "./main.ts"; Deno.test(function addTest() { assertEquals(add(2, 3), 5); }); ``` Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-08-15chore(bench,test): list `.mts` under supported file extensions in cli docs ↵Geert-Jan Zwiers
(#15477)
2022-08-12fix(coverage): ensure coverage is only collected in certain situations (#15467)David Sherret
2022-08-11refactor(cli): consolidate most MainWorker related code to the same place ↵David Sherret
(#15459)
2022-08-10fix(task): subcommand parser skips global args (#15297)Cre3per
2022-07-26chore: update jsonc_parser to 0.20 (#15316)David Sherret
2022-07-20feat(test): add `--parallel` flag, soft deprecate `--jobs` (#15259)David Sherret
Co-authored-by: mrkldshv <markladyshev@gmail.com>
2022-07-20chore(cli): Ignore "experimentalDecorators" and "moduleDetection" options ↵Nayeem Rahman
(#15202)
2022-07-20fix(task): resolve deno configuration file first from specified `--cwd` arg ↵David Sherret
(#15257)
2022-07-19feat: emit files on demand and fix racy emit (#15220)David Sherret
2022-07-18feat(cli): support configuring the test tool in the config file (#15079)Roj
2022-07-15feat(cli/test): add `DENO_JOBS` env variable for `test` subcommand (#14929)Mark Ladyshau
2022-07-13chore(cli): remove dead code related to previous tsc emit (#15196)Nayeem Rahman
2022-07-01refactor: extract `deno_graph::create_graph` use to common function (#15009)David Sherret
2022-06-29fix(vendor): ignore import map in output directory instead of erroring (#14998)David Sherret
2022-06-29refactor: rename `RootConfig` to `CliOptions` (#15007)David Sherret
2022-06-28refactor: add `RootConfig` (#14985)David Sherret
2022-06-28fix(task): remove --no-config as task subcommand argument (#14983)Geert-Jan Zwiers
2022-06-27refactor: create `args` folder (#14982)David Sherret