lib/app42/command/client.rb in app42-0.6.1 vs lib/app42/command/client.rb in app42-0.6.2

- old
+ new

@@ -253,17 +253,17 @@ set_cmd(:setup, :upgrade) when 'downgradebpaas' set_cmd(:setup, :downgrade) - when 'deletesetup' + when 'deletebpaas' set_cmd(:setup, :delete_cloud_api) - when 'setupinfo' + when 'bpaasinfo' set_cmd(:setup, :info) - when 'setups' + when 'bpaassetups' set_cmd(:setup, :setups) when 'setupwordpress' set_cmd(:wordpress, :setup) @@ -293,10 +293,34 @@ when 'removecustomurl' set_cmd(:app, :remove_custom_url) when 'customurlinfo' - set_cmd(:app, :urls) + set_cmd(:app, :urls) + + when 'setupgpaas' + set_cmd(:gpaas, :setup) + + when 'startgpaas' + set_cmd(:gpaas, :start) + + when 'stopgpaas' + set_cmd(:gpaas, :stop) + + when 'upgradegpaas' + set_cmd(:gpaas, :upgrade) + + when 'downgradegpaas' + set_cmd(:gpaas, :downgrade) + + when 'deletegpaas' + set_cmd(:gpaas, :delete) + + when 'gpaasinfo' + set_cmd(:gpaas, :info) + + when 'gpaassetups' + set_cmd(:gpaas, :setups) else puts Paint["app42: Unknown command [#{action}]", :red] App42::Base::Help.how_to end \ No newline at end of file