Class: Bolts::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/bolts/cli.rb,
lib/bolts/cli/help.rb

Defined Under Namespace

Classes: Help

Instance Method Summary collapse

Instance Method Details

#ecs_exec(service, *command) ⇒ Object



18
19
20
# File 'lib/bolts/cli.rb', line 18

def ecs_exec(service, *command)
  Docker.new(service, options.merge(command: command)).exec
end

#ecs_run(service, *command) ⇒ Object



25
26
27
# File 'lib/bolts/cli.rb', line 25

def ecs_run(service, *command)
  Docker.new(service, options.merge(command: command)).run
end

#ssh(service, *command) ⇒ Object



12
13
14
# File 'lib/bolts/cli.rb', line 12

def ssh(service, *command)
  Ssh.new(service, options.merge(command: command)).run
end