Class: EcsSolo::CLI

Inherits:
Command show all
Defined in:
lib/ecs_solo/cli.rb

Instance Method Summary collapse

Methods inherited from Command

alter_command_description, command_help, dispatch, exit_on_failure?, website

Instance Method Details

#completion(*params) ⇒ Object



17
18
19
# File 'lib/ecs_solo/cli.rb', line 17

def completion(*params)
  Completer.new(CLI, *params).run
end

#completion_scriptObject



23
24
25
# File 'lib/ecs_solo/cli.rb', line 23

def completion_script
  Completer::Script.generate
end

#deploy(identifier) ⇒ Object



11
12
13
# File 'lib/ecs_solo/cli.rb', line 11

def deploy(identifier)
  Deploy.new(options.merge(identifier: identifier)).run
end

#versionObject



28
29
30
# File 'lib/ecs_solo/cli.rb', line 28

def version
  puts VERSION
end