deno: update outdated commands (#5275)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
- Menjalankan berkas JavaScript atau TypeScript:
|
||||
|
||||
`deno {{alamat/ke/berkas.ts}}`
|
||||
`deno run {{alamat/ke/berkas.ts}}`
|
||||
|
||||
- Menjalankan REPL (shell interaktif):
|
||||
|
||||
@@ -13,12 +13,12 @@
|
||||
|
||||
- Menjalankan berkas dengan memperbolehkan akses jaringan:
|
||||
|
||||
`deno --allow-net {{alamat/ke/berkas.ts}}`
|
||||
`deno run --allow-net {{alamat/ke/berkas.ts}}`
|
||||
|
||||
- Menjalankan berkas dari URL:
|
||||
|
||||
`deno {{https://deno.land/std/examples/welcome.ts}}`
|
||||
`deno run {{https://deno.land/std/examples/welcome.ts}}`
|
||||
|
||||
- Memasang skrip yang dapat dieksekusi dari 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}}`
|
||||
|
@@ -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}}`
|
||||
|
Reference in New Issue
Block a user