lib/rmd/cli.rb in rmdd-0.1.8 vs lib/rmd/cli.rb in rmdd-0.1.9

- old
+ new

@@ -52,14 +52,14 @@ DeployService.nginx(options[:server], options[:type]) rescue Exception => e $stdout.puts(e.message) end - desc 'console', 'Console of servers' + desc 'bash', 'Bash of servers' method_option :server, aliases: '-s', desc: 'Server name', type: :string, required: true - def console + def bash Cli.load_config - DeployService.console(options[:server]) + DeployService.bash(options[:server]) rescue Exception => e $stdout.puts(e.message) end end end