Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spajus/hooker
Command line tool to control GitHub repository hooks in multiple repos in bulk
https://github.com/spajus/hooker
Last synced: 7 days ago
JSON representation
Command line tool to control GitHub repository hooks in multiple repos in bulk
- Host: GitHub
- URL: https://github.com/spajus/hooker
- Owner: spajus
- License: mit
- Created: 2014-07-25T12:52:21.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-28T13:05:29.000Z (over 10 years ago)
- Last Synced: 2024-11-24T02:36:37.068Z (2 months ago)
- Language: Ruby
- Size: 168 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hooker
Command line tool to control GitHub repository web hooks in multiple repos in bulk.
### Installing
```console
$ gem install mass-hooker
```### Before you run it
```console
$ export GITHUB_OAUTH_TOKEN=
````Your token must have `hooks_admin` permission.
## Examples
### Make sure all organization repos have a hook
```console
$ hooker ensure_hooks \
--org your_org \
--hook_url http://your.hook.handler/do/stuff \
--events pull_request,issues
```### List all hooks in all organization private repos
```console
$ hooker hooks \
--org your_org \
--type private
```### Getting more help
Run `hooker help` or `hooker help `.