A command tool help you manage gist easily

A simple CLI tool which could let you manage gist easily.

Install gistor using npm

npm install -g gistor

First setup your authorization information.

gistor --login --user {USERNAME} --pass {PASSWORD}

It will call github Authorization and create new one. If it success, will save return value to .gistor in your home directory. Then you can start using gistor to manage your gist right now!

gistor --create [--desc] {DESC} [files...]

Create a gist contains the files you given. You can also write the description using --desc.

gistor --remove [gist id]

Delete the specific gist based on specific id.

gistor --list

It will list your gist, including Id and description. (Id is necessary in following action)