display syslog drains for an app
drains:add URL
add a syslog drain
# File lib/heroku/command/drains.rb, line 22 def add if url = args.shift puts heroku.add_drain(app, url) return else error("Usage: heroku drains:add URL") end end
drains
list all syslog drains
# File lib/heroku/command/drains.rb, line 13 def index puts heroku.list_drains(app) return end
drains:remove URL
remove a syslog drain
# File lib/heroku/command/drains.rb, line 35 def remove if url = args.shift puts heroku.remove_drain(app, url) return else error("Usage: heroku drains remove URL") end end