class Codebuild::CLI

Public Instance Methods

completion(*params) click to toggle source
# File lib/codebuild/cli.rb, line 47
def completion(*params)
  Completer.new(CLI, *params).run
end
completion_script() click to toggle source
# File lib/codebuild/cli.rb, line 53
def completion_script
  Completer::Script.generate
end
delete(project_name=nil) click to toggle source
# File lib/codebuild/cli.rb, line 31
def delete(project_name=nil)
  Delete.new(options.merge(project_name: project_name)).run
end
deploy(project_name=nil) click to toggle source
# File lib/codebuild/cli.rb, line 22
def deploy(project_name=nil)
  puts "[DEPRECATION] This gem has been renamed to cody and will no longer be supported. Please switch to cody as soon as possible."
  Deploy.new(options.merge(project_name: project_name)).run
end
start(project_name=nil) click to toggle source
# File lib/codebuild/cli.rb, line 41
def start(project_name=nil)
  Start.new(options.merge(project_name: project_name)).run
end
version() click to toggle source
# File lib/codebuild/cli.rb, line 58
def version
  puts VERSION
end