summaryrefslogtreecommitdiff
path: root/std/examples/README.md
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2020-05-01 20:33:11 +0100
committerGitHub <noreply@github.com>2020-05-01 15:33:11 -0400
commit96fd0f4692126516239d61784caf6599aa884844 (patch)
tree8ebeafc5562297104390da4d0c159940006fc28f /std/examples/README.md
parent6661e7e287aa595eccdc8d49940c40953b1f69bc (diff)
BREAKING: feat(cli/installer): Support guessing the executable name (#5036)
Diffstat (limited to 'std/examples/README.md')
-rw-r--r--std/examples/README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/std/examples/README.md b/std/examples/README.md
index ea85da542..1c47d258e 100644
--- a/std/examples/README.md
+++ b/std/examples/README.md
@@ -16,13 +16,13 @@ deno --allow-net https://deno.land/std/examples/echo_server.ts
Or
```shell
-deno install --allow-net echo_server https://deno.land/std/examples/echo_server.ts
+deno install --allow-net https://deno.land/std/examples/echo_server.ts
```
### cat - print file to standard output
```shell
-deno install --allow-read deno_cat https://deno.land/std/examples/cat.ts
+deno install --allow-read -n deno_cat https://deno.land/std/examples/cat.ts
deno_cat file.txt
```
@@ -31,7 +31,7 @@ deno_cat file.txt
A very useful command by Soheil Rashidi ported to Deno.
```shell
-deno install --allow-read catj https://deno.land/std/examples/catj.ts
+deno install --allow-read https://deno.land/std/examples/catj.ts
catj example.json
catj file1.json file2.json
echo example.json | catj -
@@ -47,7 +47,7 @@ deno --allow-net=deno.land https://deno.land/std/examples/curl.ts https://deno.l
```
export GIST_TOKEN=ABC # Generate at https://github.com/settings/tokens
-deno install --allow-net --allow-env gist https://deno.land/std/examples/gist.ts
+deno install --allow-net --allow-env https://deno.land/std/examples/gist.ts
gist --title "Example gist 1" script.ts
gist --t "Example gist 2" script2.ts
```