# package installations
sudo gitswarm-rake gitswarm:web_hook:add URL="http://example.com/hook"
# source installations
bundle exec rake gitswarm:web_hook:add URL="http://example.com/hook" RAILS_ENV=production
# package installations
sudo gitswarm-rake gitswarm:web_hook:add URL="http://example.com/hook" NAMESPACE=acme
# source installations
bundle exec rake gitswarm:web_hook:add URL="http://example.com/hook" NAMESPACE=acme RAILS_ENV=production
# package installations
sudo gitswarm-rake gitswarm:web_hook:rm URL="http://example.com/hook"
# source installations
bundle exec rake gitswarm:web_hook:rm URL="http://example.com/hook" RAILS_ENV=production
# package installations
sudo gitswarm-rake gitswarm:web_hook:rm URL="http://example.com/hook" NAMESPACE=acme
# source installations
bundle exec rake gitswarm:web_hook:rm URL="http://example.com/hook" NAMESPACE=acme RAILS_ENV=production
# package installations
sudo gitswarm-rake gitswarm:web_hook:list
# source installations
bundle exec rake gitswarm:web_hook:list RAILS_ENV=production
# package installations
sudo gitswarm-rake gitswarm:web_hook:list NAMESPACE=/
# source installations
bundle exec rake gitswarm:web_hook:list NAMESPACE=/ RAILS_ENV=production
Note:
/
is the global namespace.