lib/app42/command/client.rb in app42-0.6.2 vs lib/app42/command/client.rb in app42-0.6.3
- old
+ new
@@ -247,10 +247,13 @@
set_cmd(:setup, :start)
when 'stopbpaas'
set_cmd(:setup, :stop)
+ when 'restartbpaas'
+ set_cmd(:setup, :restart)
+
when 'upgradebpaas'
set_cmd(:setup, :upgrade)
when 'downgradebpaas'
set_cmd(:setup, :downgrade)
@@ -280,10 +283,13 @@
set_cmd(:wordpress, :start)
when 'stopwordpress'
set_cmd(:wordpress, :stop)
+ when 'restartwordpress'
+ set_cmd(:wordpress, :restart)
+
when 'wordpresssetups'
set_cmd(:wordpress, :wordpresssetups)
when 'wordpressinfo'
set_cmd(:wordpress, :info)
@@ -304,10 +310,13 @@
set_cmd(:gpaas, :start)
when 'stopgpaas'
set_cmd(:gpaas, :stop)
+ when 'restartgpaas'
+ set_cmd(:gpaas, :restart)
+
when 'upgradegpaas'
set_cmd(:gpaas, :upgrade)
when 'downgradegpaas'
set_cmd(:gpaas, :downgrade)
@@ -338,6 +347,6 @@
App42::Base::Help.commands
end
end
end
-end
\ No newline at end of file
+end