Class: Sfn::Command::Print
- Inherits:
-
Sfn::Command
- Object
- Bogo::Cli::Command
- Sfn::Command
- Sfn::Command::Print
- Defined in:
- lib/sfn/command/print.rb
Overview
Print command
Constant Summary
Constants included from Sfn::CommandModule::Template
Sfn::CommandModule::Template::MAX_PARAMETER_ATTEMPTS, Sfn::CommandModule::Template::TEMPLATE_IGNORE_DIRECTORIES
Instance Method Summary collapse
Methods included from Sfn::CommandModule::Stack
Methods included from Sfn::CommandModule::Template
Methods included from Sfn::CommandModule::Base
Methods inherited from Sfn::Command
Constructor Details
This class inherits a constructor from Sfn::Command
Instance Method Details
#execute! ⇒ Object
13 14 15 16 17 18 19 20 21 |
# File 'lib/sfn/command/print.rb', line 13 def execute! config[:print_only] = true file = load_template_file file.delete('sfn_nested_stack') file = Sfn::Utils::StackParameterScrubber.scrub!(file) file = translate_template(file) ui.puts _format_json(file) end |