Class: AppCommand::Infrastructure
- Inherits:
-
Convoy::ActionCommand::Base
- Object
- Convoy::ActionCommand::Base
- AppCommand::Infrastructure
- Defined in:
- lib/routes/infrastructure.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/routes/infrastructure.rb', line 5 def execute begin @opts = @args = arguments @profile = App::AWSProfile::get_profile Blufin::Projects::init(@profile[App::AWSProfile::PROJECTS]) App::Stacks::init(@profile[App::AWSProfile::STACKS]) opts_validate opts_routing rescue => e Blufin::Terminal::print_exception(e) end end |
#opts_routing ⇒ Object
37 38 39 40 41 |
# File 'lib/routes/infrastructure.rb', line 37 def opts_routing raise RuntimeError, 'Not yet implemented!' end |
#opts_validate ⇒ Object
28 29 30 31 32 33 34 35 |
# File 'lib/routes/infrastructure.rb', line 28 def opts_validate @projects = Blufin::Projects::get_projects # TODO - REMOVE puts @projects.to_yaml end |