Class: Cody::CLI
Instance Method Summary
collapse
Methods inherited from Command
alter_command_description, command_help, dispatch, website
Instance Method Details
#completion(*params) ⇒ Object
63
64
65
|
# File 'lib/cody/cli.rb', line 63
def completion(*params)
Completer.new(CLI, *params).run
end
|
#completion_script ⇒ Object
#delete(project_name = nil) ⇒ Object
30
31
32
|
# File 'lib/cody/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/cody/cli.rb', line 22
def deploy(project_name=nil)
Deploy.new(options.merge(project_name: project_name)).run
end
|
#logs(project_name = nil) ⇒ Object
57
58
59
|
# File 'lib/cody/cli.rb', line 57
def logs(project_name=nil)
Logs.new(options.merge(project_name: project_name)).run
end
|
#start(project_name = nil) ⇒ Object
40
41
42
|
# File 'lib/cody/cli.rb', line 40
def start(project_name=nil)
Start.new(options.merge(project_name: project_name)).run
end
|
#stop(project_name = nil) ⇒ Object
48
49
50
|
# File 'lib/cody/cli.rb', line 48
def stop(project_name=nil)
Stop.new(options.merge(project_name: project_name)).run
end
|
#version ⇒ Object
74
75
76
|
# File 'lib/cody/cli.rb', line 74
def version
puts VERSION
end
|