gist-it

0.5.1 • Public • Published

gist-it

NPM version NPM downloads CircleCI donate

gist

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.log
gist-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:

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

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. 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

Readme

Keywords

Package Sidebar

Install

npm i gist-it

Weekly Downloads

1

Version

0.5.1

License

MIT

Last publish

Collaborators

  • rem