Class: StackMaster::Commands::Init
- Inherits:
-
Object
- Object
- StackMaster::Commands::Init
- Includes:
- StackMaster::Command
- Defined in:
- lib/stack_master/commands/init.rb
Defined Under Namespace
Classes: InitBinding
Instance Method Summary collapse
-
#initialize(options, region, stack_name) ⇒ Init
constructor
A new instance of Init.
- #perform ⇒ Object
Methods included from StackMaster::Command
Constructor Details
#initialize(options, region, stack_name) ⇒ Init
Returns a new instance of Init.
8 9 10 11 12 |
# File 'lib/stack_master/commands/init.rb', line 8 def initialize(, region, stack_name) super(nil, nil, ) @region = region @stack_name = stack_name end |
Instance Method Details
#perform ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/stack_master/commands/init.rb', line 14 def perform if check_files create_stack_master_yml create_stack_json_yml create_parameters_yml end end |