ghh is cui tool for github repository hook.
ghh use EDITOR
environment variable for creating/editing hook.
go install github.com/soh335/ghh
ghh config token <token>
you can get at https://github.com/settings/applications .
config file is saved at $HOME/.config/ghh
.
ghh support
ghh list <owner> <repo>
ghh show <owner> <repo> <id>
ghh create <owner> <repo> <type>
ghh edit <owner> <repo> <id>
ghh delete <owner> <repo> <id>
ghh test <owner> <repo> <id>