From 03d0ee60b40ce785276006e69a6040b5fc0c99d4 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sat, 2 May 2020 18:35:25 -0400 Subject: Add hint on how to install gist program (#5041) --- std/examples/gist.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'std/examples/gist.ts') 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 { -- cgit v1.2.3