Skip to content

icholy/gist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gist

Command line tool for publishing gists

Usage:

# read from stdin
cat file.sh | gist

# set file name
cat file.sh | gist -f "myfile.sh"

# make public
cat file.sh | gist -p

# multiple files
gist *.js

Install:

go get github.com/icholy/gist

For auth, the tool looks for an environment variable called GITHUB_TOKEN You can generate one at: https://github.com/settings/tokens

export GITHUB_TOKEN="blah blah blah"

About

Command line tool for creating github gists

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages