Class: CloudFormationTool::CLI::Parameters
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- CloudFormationTool::CLI::Parameters
- Defined in:
- lib/cloud_formation_tool/cli/parameters.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/cloud_formation_tool/cli/parameters.rb', line 7 def execute donefirst = false CloudFormation.parse(file).each do |name, value| unless donefirst donefirst = true puts "---\n" end puts "#{name}: #{value}" end end |