gister
gister copied to clipboard
A command line app to create Gists in Go
a commandline gister in golang
This is a port of gist in Go
Settings
-
[Create a personal access token] https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/)
-
Set the
GITHUB_TOKENenvironment variable to the valueusername:token, or writeusername:tokento~/.gistfile.
Usage
- Get the pre-built Linux (x86_64) built or download and build it yourself.
gister provides 3 optional CLI arguments.
-public: Iftrue, the gist created will be public. Defaults totrue.-d: Provide a description. Defaults toThis is a gist.-anonymous: Iftrue, the gist created will be anonymous. Setfalseto create a gist for a user. Defaults totrue.
- Run
gister --hfor the available options and usage.
LICENSE
MIT