deno: update outdated commands (#5275)

translation-badges
Daryl Pinto 2021-02-18 08:07:05 -05:00 committed by GitHub
parent a6984a88bf
commit 75ed4e2db3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View File

@ -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}}`

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}}`