Class: Percheron::Commands::Shell

Inherits:
Abstract
  • Object
show all
Defined in:
lib/percheron/commands/shell.rb

Instance Method Summary collapse

Methods inherited from Abstract

#config, default_parameters!, #runit, #stack

Instance Method Details

#executeObject



9
10
11
12
13
14
# File 'lib/percheron/commands/shell.rb', line 9

def execute
  super
  stack.shell!(unit_name, raw_command: command)
rescue Errors::DockerClientInvalid => e
  signal_usage_error(e.message)
end