Class: ConfigureSentry
- Inherits:
-
Object
- Object
- ConfigureSentry
- Defined in:
- lib/renuo/cli/app/configure_sentry.rb
Constant Summary collapse
- ADMIN_EMAIL =
"[email protected]"
Instance Method Summary collapse
Instance Method Details
#run(args) ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/renuo/cli/app/configure_sentry.rb', line 9 def run(args) project_name = args[0] sentry_dsn = args[1] abort(">> No project name given.") unless project_name abort(">> No sentry DSN name given.") unless sentry_dsn say "# Commands to setup Sentry on Heroku\n".colorize :green ENVIRONMENTS.each { |env| print_environment_commands(env, project_name, sentry_dsn) } end |