Add hint on how to install gist program (#5041)

This commit is contained in:
Ryan Dahl 2020-05-02 18:35:25 -04:00 committed by GitHub
parent bbbf9f299c
commit 03d0ee60b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,7 @@
#!/usr/bin/env -S deno --allow-net --allow-env #!/usr/bin/env -S deno --allow-net --allow-env
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // 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"; import { parse } from "../flags/mod.ts";
function pathBase(p: string): string { function pathBase(p: string): string {