Class: AppCommand::GenerateLambda
- Inherits:
-
Convoy::ActionCommand::Base
- Object
- Convoy::ActionCommand::Base
- AppCommand::GenerateLambda
- Defined in:
- lib/routes/generate/generate_lambda.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#opts_routing ⇒ Object
Generates a favicon.ico file (using ImageMagick).
- #opts_validate ⇒ Object
Instance Method Details
#execute ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/routes/generate/generate_lambda.rb', line 5 def execute begin @opts = @args = arguments opts_validate opts_routing rescue => e Blufin::Terminal::print_exception(e) end end |
#opts_routing ⇒ Object
Generates a favicon.ico file (using ImageMagick)
31 32 33 34 35 36 37 38 39 |
# File 'lib/routes/generate/generate_lambda.rb', line 31 def opts_routing # TODO - Figure out structure of configuration files. # TODO - Scan configuration files + validate. # TODO - Generate boiler-plate code. raise RuntimeError, 'Not yet implemented!' end |
#opts_validate ⇒ Object
23 24 25 26 27 |
# File 'lib/routes/generate/generate_lambda.rb', line 23 def opts_validate # TODO - Validate something? end |