Copy2gist
Dead-simple Copy Paste directly from your clipboard to GIST via terminal
npm install -g copy2gist
Install this globally and you'll have access to the copy2gist
command anywhere on your system.
Usage
copy2gist
Setup
1.) Create gist token
curl -u YOUR_GITHUB_USERNAME \
-d '{"scopes":["gist"],"note":"gist access"}' \
https://api.github.com/authorizations
2.) Set gist credentials
git config --global --add gist.username YOUR_GITHUB_USERNAME
git config --global --add gist.token THAT_TOKEN_YOU_GOT