lib/rmd/cli.rb in rmdd-0.1.12 vs lib/rmd/cli.rb in rmdd-0.1.13

- old
+ new

@@ -17,12 +17,13 @@ end end desc 'deploy', 'Deploy to a server' method_option :server, aliases: '-s', desc: 'Server name', type: :string, required: true + method_option :skip_assets, aliases: '-a', desc: 'Skip precompile assets', type: :boolean, default: false def deploy Cli.load_config - DeployService.deploy(options[:server]) + DeployService.deploy(options[:server], options[:skip_assets]) rescue Exception => e $stdout.puts(e.message) end desc 'restart', 'Restart a server'