An easy CLI for uploading gists.
First, you'll need to install gisterm:
npm i -g gisterm
Then, you'll need to create a token on GitHub (needs to have
gist permission), and then set it up with gisterm:
gisterm auth YOUR_TOKEN
gisterm create myTextFile.txt myScript.js myImage.png
You can specify a description for your Gist. Use the
gisterm create myScript.js --description "Just a little script I wanted to share."
You can make your Gist private, by using the
gisterm create secret.txt --private
People reading on npm: if you can't find something, there may be a chance of seeing an updated README with more explanations here.