Module: Lono::Help

Extended by:
Help
Included in:
Help
Defined in:
lib/lono/help.rb

Instance Method Summary collapse

Instance Method Details

#cfnObject



49
50
51
52
53
54
55
56
57
58
59
60
61
# File 'lib/lono/help.rb', line 49

def cfn
<<-EOL
Examples:

$ lono cfn create my-stack

$ lono cfn preview my-stack

$ lono cfn update my-stack

$ lono cfn delete my-stack
EOL
end

#generateObject



26
27
28
29
30
31
32
33
34
35
36
# File 'lib/lono/help.rb', line 26

def generate
<<-EOL
Examples:

$ lono generate

$ lono g -c # shortcut

Builds both CloudFormation template and parameter files based on lono project and writes them to the output folder on the filesystem.
EOL
end

#importObject



12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/lono/help.rb', line 12

def import
<<-EOL
Examples:

$ lono import /path/to/file

$ lono import http://url.com/path/to/template.json

$ lono import http://url.com/path/to/template.yml

Imports a raw CloudFormation template and lono-fies it.
EOL
end

#inspectorObject



71
72
73
74
75
76
77
78
79
# File 'lib/lono/help.rb', line 71

def inspector
<<-EOL
Examples:

$ lono inspect depends my-stack

$ lono inspect summary my-stack
EOL
end

#new_long_descObject



2
3
4
5
6
7
8
9
10
# File 'lib/lono/help.rb', line 2

def new_long_desc
<<-EOL
Examples:

$ lono new project

$ lono new lono
EOL
end

#paramObject



63
64
65
66
67
68
69
# File 'lib/lono/help.rb', line 63

def param
<<-EOL
Examples:

$ lono param generate
EOL
end

#templateObject



38
39
40
41
42
43
44
45
46
47
# File 'lib/lono/help.rb', line 38

def template
<<-EOL
Examples:

$ lono template generate --help

$ lono template bashify --help
EOL

end