diff options
Diffstat (limited to 'std/manual.md')
-rw-r--r-- | std/manual.md | 57 |
1 files changed, 2 insertions, 55 deletions
diff --git a/std/manual.md b/std/manual.md index 026a4330b..f4f2135dc 100644 --- a/std/manual.md +++ b/std/manual.md @@ -768,61 +768,8 @@ if (import.meta.main) { ### Flags -Use `deno help` to see the help text. - -``` -A secure JavaScript and TypeScript runtime - -Docs: https://deno.land/std/manual.md -Modules: https://deno.land/x/ -Bugs: https://github.com/denoland/deno/issues - -To run the REPL supply no arguments: - - deno - -To evaluate code from the command line: - - deno eval "console.log(30933 + 404)" - -To execute a script: - - deno https://deno.land/std/examples/welcome.ts - -The default subcommand is 'run'. The above is equivalent to - - deno run https://deno.land/std/examples/welcome.ts - -See 'deno help run' for run specific flags. - -USAGE: - deno [SUBCOMMAND] - -OPTIONS: - -h, --help Prints help information - -L, --log-level <log-level> Set log level [possible values: debug, info] - -V, --version Prints version information - -SUBCOMMANDS: - bundle Bundle module and dependencies into single file - completions Generate shell completions - eval Eval script - fetch Fetch the dependencies - fmt Format files - help Prints this message or the help of the given subcommand(s) - info Show info about cache or info related to source file - install Install script as executable - repl Read Eval Print Loop - run Run a program given a filename or url to the source code - test Run tests - types Print runtime TypeScript declarations - -ENVIRONMENT VARIABLES: - DENO_DIR Set deno's base directory - NO_COLOR Set to disable color - HTTP_PROXY Proxy address for HTTP requests (module downloads, fetch) - HTTPS_PROXY Same but for HTTPS -``` +Use `deno help` to see help text documenting Deno's flags and usage. Use +`deno help <subcommand>` for subcommand-specific flags. ### Environmental variables |