cluster/lib/cluster/commands_generator.rb in sct-1.4.0 vs cluster/lib/cluster/commands_generator.rb in sct-1.5.0
- old
+ new
@@ -16,11 +16,11 @@
global_option('--verbose') { $verbose = true }
command :start do |c|
c.syntax = "sct cluster start"
- c.description = "start the cluster"
+ c.description = "(re)start the cluster"
c.option '--build', '(re)build images before starting'
c.option '--pull', 'pull latest images before starting'
c.action do |args, options|
Cluster::Runner.new.start args, options
@@ -31,18 +31,9 @@
c.syntax = 'sct cluster stop'
c.description = 'stop the cluster'
c.action do |args, options|
Cluster::Runner.new.stop
- end
- end
-
- command :restart do |c|
- c.syntax = "sct cluster restart"
- c.description = "restart the cluster"
-
- c.action do |args, options|
- Cluster::Runner.new.restart
end
end
command :delete do |c|
c.syntax = "sct cluster delete"