lib/percheron/cli/stop_command.rb in percheron-0.5.0 vs lib/percheron/cli/stop_command.rb in percheron-0.6.0

- old
+ new

@@ -1,12 +1,13 @@ module Percheron module CLI class StopCommand < AbstractCommand - parameter 'STACK_NAME', 'stack name' + default_parameters! def execute - Percheron::Stack.new(config, stack_name).stop! + opts = { container_names: container_names } + Percheron::Stack.new(config, stack_name).stop!(opts) end end end end