deno: update outdated commands (#5275)

This commit is contained in:
Daryl Pinto
2021-02-18 08:07:05 -05:00
committed by GitHub
parent a6984a88bf
commit 75ed4e2db3
2 changed files with 8 additions and 8 deletions

View File

@@ -5,7 +5,7 @@
- Run a JavaScript or TypeScript file:
`deno {{path/to/file.ts}}`
`deno run {{path/to/file.ts}}`
- Start a REPL (interactive shell):
@@ -13,12 +13,12 @@
- Run a file with network access enabled:
`deno --allow-net {{path/to/file.ts}}`
`deno run --allow-net {{path/to/file.ts}}`
- Run a file from a URL:
`deno {{https://deno.land/std/examples/welcome.ts}}`
`deno run {{https://deno.land/std/examples/welcome.ts}}`
- Install an executable script from a URL:
`deno install --allow-net --allow-read {{file_server}} {{https://deno.land/std/http/file_server.ts}}`
`deno install {{https://deno.land/std/examples/colors.ts}}`