gist-0.4.1 doesn't have any documentation.
Gist
A command-line tool for publishing gists, inspired by icholy/gist.
Usage
Read a file from stdin:
|
Set a file name:
|
Make a public Gist:
|
Multiple files?
I want the Gist's URL copied to my clipboard, when it's done:
# *nix / X.org
| |
# mac
| |
Installation
Installation currently requires cargo, just cargo install gist
.
For authentication, the program looks for an environment variable called
GITHUB_GIST_TOKEN
or GITHUB_TOKEN
: it is mandatory to create a "secret"
gist (the default).
You can generate one at: https://github.com/settings/tokens
Then append it to your .profile
, or something with:
# or
License
MIT.
Hacking & bug reports
Yes please: file issues, or better send patches and pull-requests.