Using pip
pip install gistey
On linux systems you might require to use sudo
To create a public gist with description for a bunch of files
$ gistey --description "This would be the description" --files somefile.ext someotherfile URL of the gist created: https://gist.github.com/<id> # output
To create a secret gist, just add
--secret
option$ gistey --description "This would be the description" --files somefile.ext someotherfile --secret URL of the gist created: https://gist.github.com/<id> # output
To create a gist without description
$ gistey --files somefile.ext someotherfile URL of the gist created: https://gist.github.com/<id> # output