Class: AwsEc2::CLI
Instance Method Summary
collapse
Methods inherited from Command
alter_command_description, command_help, dispatch
Instance Method Details
#ami(name) ⇒ Object
32
33
34
|
# File 'lib/aws_ec2/cli.rb', line 32
def ami(name)
Ami.new(options.merge(name: name)).run
end
|
#compile ⇒ Object
39
40
41
|
# File 'lib/aws_ec2/cli.rb', line 39
def compile
Script::Compile.new(options).compile_all
end
|
#completion(*params) ⇒ Object
52
53
54
|
# File 'lib/aws_ec2/cli.rb', line 52
def completion(*params)
Completer.new(CLI, *params).run
end
|
#completion_script ⇒ Object
#create(name) ⇒ Object
25
26
27
|
# File 'lib/aws_ec2/cli.rb', line 25
def create(name)
Create.new(options.merge(name: name)).run
end
|
#version ⇒ Object
63
64
65
|
# File 'lib/aws_ec2/cli.rb', line 63
def version
puts VERSION
end
|