summaryrefslogtreecommitdiff
path: root/cli/flags.rs
AgeCommit message (Collapse)Author
2019-07-31Add --current-thread flag (#2702)Bartek Iwańczuk
2019-07-27make importmap flag global (#2687)Bartek Iwańczuk
2019-07-27cli: handle deno -v and deno --version (#2684)Bartek Iwańczuk
2019-07-26cli: unify deno -h options (#2682)Bartek Iwańczuk
2019-07-20fix: bring back --no-fetch flag (#2671)Bartek Iwańczuk
2019-07-17Refactor DenoDir (#2636)Bartek Iwańczuk
* rename `ModuleMetaData` to `SourceFile` and remove TS specific functionality * add `TsCompiler` struct encapsulating processing of TypeScript files * move `SourceMapGetter` trait implementation to `//cli/compiler.rs` * add low-level `DiskCache` API for general purpose caches and use it in `DenoDir` and `TsCompiler` for filesystem access * don't use hash-like filenames for compiled modules, instead use metadata file for storing compilation hash * add `SourceFileCache` for in-process caching of loaded files for fast subsequent access * define `SourceFileFetcher` trait encapsulating loading of local and remote files and implement it for `DenoDir` * define `use_cache` and `no_fetch` flags on `DenoDir` instead of using in fetch methods
2019-07-10fix for '-' arg after script name (#2631)Bartek Iwańczuk
2019-07-09Update deno.land links v0.11 (#2628)Ryan Dahl
2019-07-08cli: generate default file name for bundle when URL ends in a slashBert Belder
2019-07-08core: replace ModuleSpecifier::to_url() by as_url()Bert Belder
2019-07-08core: clearly define when module lookup is path-based vs URL-basedBert Belder
The rules are now as follows: * In `import` statements, as mandated by the WHATWG specification, the import specifier is always treated as a URL. If it is a relative URL, it must start with either / or ./ or ../ * A script name passed to deno as a command line argument may be either an absolute URL or a local path. - If the name starts with a valid URI scheme followed by a colon, e.g. 'http:', 'https:', 'file:', 'foo+bar:', it always interpreted as a URL (even if Deno doesn't support the indicated protocol). - Otherwise, the script name is interpreted as a local path. The local path may be relative, and operating system semantics determine how it is resolved. Prefixing a relative path with ./ is not required.
2019-06-29fix: test output for completions (#2597)Bartek Iwańczuk
2019-06-29feat: parse flags after script name (#2596)Bartek Iwańczuk
2019-06-26feat: deno completions command (#2577)Bartek Iwańczuk
2019-06-24refactor: use Path/PathBuf in deno dir (#2559)Bartek Iwańczuk
2019-06-22feat: log permission access (#2518)Bartek Iwańczuk
Replaces -D/--log-debug flag with --log-level=debug --log-level=info displays permission access
2019-06-20feat: upgrade installer and add docs (#2551)Bartek Iwańczuk
2019-06-15Upgrade INSTALLER_URL to include fixes (#2532)Ryan Dahl
denoland/deno_std#492
2019-06-15fix deno install (#2529)Bartek Iwańczuk
2019-06-14feat: add deno install command (#2522)Bartek Iwańczuk
2019-06-12Move ModuleSpecifier to //core (#2509)Bartek Iwańczuk
2019-06-12Refactor module resolving (#2493)Bartek Iwańczuk
Adds ModuleSpecifier, which wraps a URL. This is now passed around instead of specifier and resolver strings.
2019-06-11feat: default output filename for deno bundle (#2484)Ryan Dahl
And improve bundle docs
2019-06-11Add --seed for setting RNG seed (#2483)Matt Harrison
2019-06-10typo (#2489)Neil Richter
2019-06-09feat: Import maps (#2360)Bartek Iwańczuk
2019-06-08Add 'bundle' subcommand. (#2467)Kitson Kelly
2019-06-05feat: bring back deno <script> (#2451)Bartek Iwańczuk
2019-06-01fmt: add --stdout option (#2439)Yoshiya Hinosawa
2019-05-30bump std/prettier@0.5.0 to std/prettier@0.7.0 (#2425)Axetroy
2019-05-24typo (#2366)ztplz
2019-05-23Improve CLI help (#2388)Ryan Dahl
2019-05-23Rename --allow-high-precision to --allow-hrtime (#2398)Ryan Dahl
2019-05-21Use tagged version of prettier in CLI (#2387)Bartek Iwańczuk
2019-05-16Add permission whitelist docs (#2365)Daiki Ihara
2019-05-16fmt: use --write option of prettier/main.ts (#2363)Yoshiya Hinosawa
This is step 1 of the plan outlined here: https://github.com/denoland/deno/issues/2090#issuecomment-492897028
2019-05-14Fix command in docs (#2353)Ryan Dahl
2019-05-11Add progress bar (#2309)Ryan Dahl
2019-05-09fix: support relative path for whitelisting (#2317)Kevin (Kun) "Kassimo" Qian
Using `std::fs::canonicalize` to expand path to full existing path, such that later attempt to loop-pop and compare path segment would work.
2019-05-08First pass at permissions whitelist (#2129)andy finch
2019-05-06fix: Add all permissions to deno xeval (#2290)Bartek Iwańczuk
2019-05-03add "deno run" subcommand (#2215)Bartek Iwańczuk
2019-05-03feat(cli cmd): deno xeval (#2260)Kevin (Kun) "Kassimo" Qian
2019-05-03add --no-fetch CLI flag to prevent remote downloads (#2213)Bartek Iwańczuk
2019-05-03Fix: deno --v8-options does not print v8 options (#2277)Bartek Iwańczuk
2019-05-01doc: add long about messages for subcommands (#2264)Kevin (Kun) "Kassimo" Qian
Type deno <subcommand> -h to view descriptions.
2019-04-29flags: fix merge error (#2244)Ryan Dahl
2019-04-29Rewrite flags.rs::parse_flags (#2237)Bartek Iwańczuk
2019-04-29Add support for custom tsconfig.json (#2089)Kitson Kelly
Use `--config`
2019-04-27disable --version flag from deno version (#2226)Bartek Iwańczuk