Module: Lono::Help
Instance Method Summary collapse
- #cfn ⇒ Object
- #generate ⇒ Object
- #import ⇒ Object
- #inspector ⇒ Object
- #new_long_desc ⇒ Object
- #param ⇒ Object
- #template ⇒ Object
Instance Method Details
#cfn ⇒ Object
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 |
#generate ⇒ Object
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 |
#import ⇒ Object
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 |
#inspector ⇒ Object
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_desc ⇒ Object
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 |
#param ⇒ Object
63 64 65 66 67 68 69 |
# File 'lib/lono/help.rb', line 63 def param <<-EOL Examples: $ lono param generate EOL end |
#template ⇒ Object
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 |