bin/rda in rda-0.1.0 vs bin/rda in rda-0.2.0

- old
+ new

@@ -14,11 +14,13 @@ def rvm(action) Rda::Rvm.new.send(action.to_sym) end desc 'nginx ACTION', 'Manage settings of nginx. Available actions: setup, discard.' + method_option :environment, aliases: "-e", desc: "Set the environment of the application" + method_option :hostname, aliases: "-h", desc: "Set the hostname of the application" def nginx(action) - Rda::Nginx.new.send(action.to_sym) + Rda::Nginx.new.send(action.to_sym, options) end desc 'app ACTION', 'Manage the lifecycle of the application. Available actions: restart.' def app(action) Rda::App.new.send(action.to_sym)