gh-gif

NodeGH plugin for commenting on pull requests/issues using GIF reactions

npm install gh-gif
1 downloads in the last day
13 downloads in the last week
96 downloads in the last month

GH Gif Build Status NPM version Dependency Status

DaftPunktocat

NodeGH plugin for commenting on pull requests/issues using GIF reactions.

Maintained by Zeno Rocha and Eduardo Lundgren.

Install

[sudo] npm install -g gh-gif

Usage

gh gif
Option Usage Type
-n, --number Required Number
-R, --reaction Required String
-i, --image Optional String
-r, --repo Optional String
-u, --user Optional String

Examples

  • Comment on pull request/issue #75 with a happy reaction.

    gh gif 75 --reaction happy
    
  • Comment on pull request/issue #75 of a certain repo with a surprised reaction.

    gh gif 75 --reaction surprised --user node-gh --repo gh-gif
    
  • Comment on pull request/issue #75 using a certain image.

    gh gif 75 --image http://media1.giphy.com/media/5DQdk5oZzNgGc/original.gif
    
  • Comment on multiple pull requests/issues at the same time.

    gh gif --reaction happy --number 1 --number 2
    

Testing

Check Travis for continous integration results.

  • Run JSHint, a tool to detect errors and potential problems.

    npm run-script lint
    
  • Run Mocha, a unit test framework.

    npm run-script test
    

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

Check Release list.

License

BSD License

npm loves you