RAILS_ENV=production bundle exec rake gitlab:web_hook:add URL="http://example.com/hook"
RAILS_ENV=production bundle exec rake gitlab:web_hook:add URL="http://example.com/hook" NAMESPACE=acme
RAILS_ENV=production bundle exec rake gitlab:web_hook:rm URL="http://example.com/hook"
RAILS_ENV=production bundle exec rake gitlab:web_hook:rm URL="http://example.com/hook" NAMESPACE=acme
RAILS_ENV=production bundle exec rake gitlab:web_hook:list
RAILS_ENV=production bundle exec rake gitlab:web_hook:list NAMESPACE=/
Note:
/
is the global namespace.