Class: Lamma::CLI
- Inherits:
-
Thor
show all
- Defined in:
- lib/lamma/cli.rb
Defined Under Namespace
Classes: Create, Deploy, Init, Rollback, Show
Instance Method Summary
collapse
Instance Method Details
#create ⇒ Object
41
42
43
44
|
# File 'lib/lamma/cli.rb', line 41
def create
require 'lamma/cli/create'
Create.new(options, self).run
end
|
#deploy ⇒ Object
26
27
28
29
|
# File 'lib/lamma/cli.rb', line 26
def deploy
require 'lamma/cli/deploy'
Deploy.new(options, self).run
end
|
#init(function_name) ⇒ Object
50
51
52
53
|
# File 'lib/lamma/cli.rb', line 50
def init(function_name)
require 'lamma/cli/init'
Init.new(options, function_name, self).run
end
|
#list ⇒ Object
11
12
13
14
|
# File 'lib/lamma/cli.rb', line 11
def list
require 'lamma/cli/list'
List.new(options, self).run
end
|
#print_version ⇒ Object
62
63
64
|
# File 'lib/lamma/cli.rb', line 62
def print_version
puts Lamma::VERSION
end
|
#rollback ⇒ Object
34
35
36
37
|
# File 'lib/lamma/cli.rb', line 34
def rollback
require 'lamma/cli/rollback'
Rollback.new(options, self).run
end
|
#show(function_name) ⇒ Object
17
18
19
20
|
# File 'lib/lamma/cli.rb', line 17
def show(function_name)
require 'lamma/cli/show'
Show.new(options, self).run
end
|
#update ⇒ Object
56
57
58
59
|
# File 'lib/lamma/cli.rb', line 56
def update
require 'lamma/cli/update'
Update.new(options, self).run
end
|