lib/percheron/commands/shell.rb in percheron-0.7.4 vs lib/percheron/commands/shell.rb in percheron-0.7.5
- old
+ new
@@ -2,14 +2,14 @@
module Commands
class Shell < Abstract
parameter('STACK_NAME', 'stack name', required: true)
parameter('CONTAINER_NAME', 'container name', required: true)
- option('--shell', 'SHELL', 'Shell to use', default: Percheron::Actions::Shell::DEFAULT_SHELL)
+ option('--command', 'COMMAND', 'command', default: Percheron::Actions::Shell::DEFAULT_COMMAND)
def execute
super
- stack.shell!(container_name, shell: shell)
+ stack.shell!(container_name, command: command)
rescue Errors::DockerClientInvalid => e
signal_usage_error(e.message)
end
end
end