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 "Examples:\n\n$ lono cfn create my-stack\n\n$ lono cfn preview my-stack\n\n$ lono cfn update my-stack\n\n$ lono cfn delete my-stack\n" end |
#generate ⇒ Object
26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/lono/help.rb', line 26 def generate "Examples:\n\n$ lono generate\n\n$ lono g -c # shortcut\n\nBuilds both CloudFormation template and parameter files based on lono project and writes them to the output folder on the filesystem.\n" 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 "Examples:\n\n$ lono import /path/to/file\n\n$ lono import http://url.com/path/to/template.json\n\n$ lono import http://url.com/path/to/template.yml\n\nImports a raw CloudFormation template and lono-fies it.\n" end |
#inspector ⇒ Object
71 72 73 74 75 76 77 78 79 |
# File 'lib/lono/help.rb', line 71 def inspector "Examples:\n\n$ lono inspect depends my-stack\n\n$ lono inspect summary my-stack\n" 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 "Examples:\n\n$ lono new project\n\n$ lono new lono\n" end |
#param ⇒ Object
63 64 65 66 67 68 69 |
# File 'lib/lono/help.rb', line 63 def param "Examples:\n\n$ lono param generate\n" end |
#template ⇒ Object
38 39 40 41 42 43 44 45 46 47 |
# File 'lib/lono/help.rb', line 38 def template "Examples:\n\n$ lono template generate --help\n\n$ lono template bashify --help\n" end |