lib/percheron/cli/start_command.rb in percheron-0.5.0 vs lib/percheron/cli/start_command.rb in percheron-0.6.0
- old
+ new
@@ -1,12 +1,13 @@
module Percheron
module CLI
class StartCommand < AbstractCommand
- parameter 'STACK_NAME', 'stack name'
+ default_parameters!
def execute
- Percheron::Stack.new(config, stack_name).start!
+ opts = { container_names: container_names }
+ Percheron::Stack.new(config, stack_name).start!(opts)
end
end
end
end