Class: Forger::CLI
Instance Method Summary
collapse
Methods inherited from Command
alter_command_description, command_help, dispatch
Instance Method Details
#ami(name) ⇒ Object
41
42
43
|
# File 'lib/forger/cli.rb', line 41
def ami(name)
Ami.new(options.merge(name: name)).run
end
|
#compile ⇒ Object
48
49
50
|
# File 'lib/forger/cli.rb', line 48
def compile
Script::Compile.new(options).compile_all
end
|
#completion(*params) ⇒ Object
67
68
69
|
# File 'lib/forger/cli.rb', line 67
def completion(*params)
Completer.new(CLI, *params).run
end
|
#completion_script ⇒ Object
#create(name) ⇒ Object
34
35
36
|
# File 'lib/forger/cli.rb', line 34
def create(name)
Create.new(options.merge(name: name)).run
end
|
#destroy(instance_id) ⇒ Object
61
62
63
|
# File 'lib/forger/cli.rb', line 61
def destroy(instance_id)
Destroy.new(options).run(instance_id)
end
|
#version ⇒ Object
78
79
80
|
# File 'lib/forger/cli.rb', line 78
def version
puts VERSION
end
|