3 4 5 6 7 8 9 10 11
# File 'lib/nodex/cli.rb', line 3 def self.execute(params) deploy = Deploy.new case params.size when 0 deploy.remote_update when 1 deploy.send "remote_#{params.first}" end end