Class: CreateHerokuApp
- Inherits:
-
Object
- Object
- CreateHerokuApp
- Defined in:
- lib/renuo/cli/app/create_heroku_app.rb
Constant Summary collapse
- ADMIN_EMAIL =
"[email protected]"
Instance Method Summary collapse
Instance Method Details
#run(args) ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/renuo/cli/app/create_heroku_app.rb', line 6 def run(args) project_name = args[0] abort(">> Project name must be between 2 and 22 characters.") unless project_name&.length&.between?(2, 22) say "# Commands to setup your Heroku application\n".colorize :green ENVIRONMENTS.each do |env| print_environment_commands(env, project_name) end print_pipelines_commands(project_name) end |