summaryrefslogtreecommitdiff
path: root/std/examples/gist.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-05-02 18:35:25 -0400
committerGitHub <noreply@github.com>2020-05-02 18:35:25 -0400
commit03d0ee60b40ce785276006e69a6040b5fc0c99d4 (patch)
treef4ce908759900b2ed9228f218442f23f8b481009 /std/examples/gist.ts
parentbbbf9f299c284e24882927d34e13ffad1ed6093e (diff)
Add hint on how to install gist program (#5041)
Diffstat (limited to 'std/examples/gist.ts')
-rwxr-xr-xstd/examples/gist.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/std/examples/gist.ts b/std/examples/gist.ts
index fbe4384e1..5d66dbdaf 100755
--- a/std/examples/gist.ts
+++ b/std/examples/gist.ts
@@ -1,5 +1,7 @@
#!/usr/bin/env -S deno --allow-net --allow-env
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// A program to post files to gist.github.com. Use the following to install it:
+// deno install -f --allow-env --allow-read --allow-net=api.github.com https://deno.land/std/examples/gist.ts
import { parse } from "../flags/mod.ts";
function pathBase(p: string): string {