Class: Codebuild::CLI
Instance Method Summary
collapse
Methods inherited from Command
alter_command_description, command_help, dispatch, website
Instance Method Details
#completion(*params) ⇒ Object
45
46
47
|
# File 'lib/codebuild/cli.rb', line 45
def completion(*params)
Completer.new(CLI, *params).run
end
|
#completion_script ⇒ Object
51
52
53
|
# File 'lib/codebuild/cli.rb', line 51
def completion_script
Completer::Script.generate
end
|
#delete(project_name = nil) ⇒ Object
30
31
32
|
# File 'lib/codebuild/cli.rb', line 30
def delete(project_name=nil)
Delete.new(options.merge(project_name: project_name)).run
end
|
#deploy(project_name = nil) ⇒ Object
22
23
24
|
# File 'lib/codebuild/cli.rb', line 22
def deploy(project_name=nil)
Deploy.new(options.merge(project_name: project_name)).run
end
|
#start(project_name = nil) ⇒ Object
39
40
41
|
# File 'lib/codebuild/cli.rb', line 39
def start(project_name=nil)
Start.new(options.merge(project_name: project_name)).run
end
|
#version ⇒ Object
56
57
58
|
# File 'lib/codebuild/cli.rb', line 56
def version
puts VERSION
end
|