Class: Renuo::Cli::Commands::DisplayName
- Inherits:
-
Object
- Object
- Renuo::Cli::Commands::DisplayName
- Includes:
- CommandHelper
- Defined in:
- lib/renuo/cli/commands/display_name.rb
Constant Summary collapse
- HEROKU_APP_NAME =
"-a renuo-dashboard-main"
- HEROKU_CLI =
"heroku run"
- RENUO_CLI =
"rails renuo:welcome"
- SLIDES =
"https://docs.google.com/presentation/d/1mPhQjArZnlUWUa2ik5R9IlGmdCKCwc2_H8Qq-AWgV-A/edit"
- WELCOME_MESSAGE =
"Welcome to Renuo"
Instance Method Summary collapse
Methods included from CommandHelper
Instance Method Details
#run(args, options) ⇒ Object
25 26 27 28 29 30 31 32 |
# File 'lib/renuo/cli/commands/display_name.rb', line 25 def run(args, ) return open_path(SLIDES) if .monitor return display_name(nil) if .delete return say("empty argument") if args.empty? return run_heroku_command(args.join(" ")) if .override display_name(args.join(" ")) end |