0.3.3 • Published 9 years ago

gh-gif v0.3.3

Weekly downloads
2
License
BSD
Repository
github
Last release
9 years ago

GH Gif

NPM version NPM downloads Build Status Dependencies Status DevDependencies 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 gh-gif

Usage

gh gif
OptionUsageType
-n, --numberRequiredNumber
-R, --reactionRequiredString
-c, --commentOptionalString
-b, --bestOptionalBoolean
-B, --bestofOptionalNumber
-i, --imageOptionalString
-r, --repoOptionalString
-u, --userOptionalString

Examples

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

    ```

    gh gif 75 --reaction happy

    ```

You can also use --comment

```

gh gif 75 --comment "This is cool" --reaction congratulation

```
  • 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

    ```
  • Comment on pull request/issue #75 with the best search result

    ```

    gh gif 75 --reaction happy --best

    ```
  • Comment on pull request/issue #75 with a random GIF of the first three result items.

    ```

    gh gif 75 --reaction happy --bestof 3

    ```

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

0.3.3

9 years ago

0.3.2

9 years ago

0.3.0

9 years ago

0.1.4

10 years ago

0.1.3

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago