gist-it
Why do we need this?
When I ran into some issues and got a error.log
, the best way to report bugs is gist-it error.log
and post the link to it on the issue you created.
Install
yarn global add gist-it# OR npm i -g gist-it
Usage
gist-it ./npm.loggist-it lib/foo.js bin/bar.js # or even glob gist-it "*.js" "css/*.css" gist-it --help
By default the gist will be published anonymously, to publish it under your account, you need to generate an access token at https://github.com/settings/tokens/new, remember to select gist
scope:
Then set it in gist-it
:
gist-it --set-token $the_token_you_just_generated
Update an exising gist
To update an exisitng gist, append the command with --id existing-gist-id
.
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
gist-it © egoist, Released under the MIT License.
Authored and maintained by egoist with help from contributors (list).
egoistian.com · GitHub @egoist · Twitter @rem_rin_rin