lib/app42/command/client.rb in app42-0.5.5 vs lib/app42/command/client.rb in app42-0.5.6
- old
+ new
@@ -125,11 +125,11 @@
when 'setupinfra'
set_cmd(:app, :setup_infra)
when 'update'
- set_cmd(:app, :deploy)
+ set_cmd(:app, :update)
when 'keys'
set_cmd(:user, :keys)
when 'clearkeys'
@@ -199,20 +199,41 @@
set_cmd(:service, :create)
when 'deleteservice'
set_cmd(:service, :delete)
+ when 'startservice'
+ set_cmd(:service, :start)
+
+ when 'restartservice'
+ set_cmd(:service, :restart)
+
+ when 'stopservice'
+ set_cmd(:service, :stop)
+
when 'resetservicepassword'
set_cmd(:service, :reset_pass)
when 'bindip'
set_cmd(:service, :service_bind)
when 'unbindip'
set_cmd(:service, :service_unbind)
when 'bindinfo'
- set_cmd(:service, :service_bindInfo)
+ set_cmd(:service, :service_bindInfo)
+
+ when 'setupcloudapi'
+ set_cmd(:setup, :setup_cloud_api)
+
+ when 'deletecloudapi'
+ set_cmd(:setup, :delete_cloud_api)
+
+ when 'setupinfo'
+ set_cmd(:setup, :info)
+
+ when 'setups'
+ set_cmd(:setup, :setups)
else
puts Paint["app42: Unknown command [#{action}]", :red]
App42::Base::Help.how_to
end
\ No newline at end of file