Class: InspecPlugins::Iggy::CloudFormation::CliCommand
- Inherits:
-
Object
- Object
- InspecPlugins::Iggy::CloudFormation::CliCommand
- Defined in:
- lib/inspec-iggy/cloudformation/cli_command.rb
Instance Method Summary collapse
Instance Method Details
#generate ⇒ Object
68 69 70 71 72 73 74 75 |
# File 'lib/inspec-iggy/cloudformation/cli_command.rb', line 68 def generate Inspec::Log.level = :debug if [:debug] # hash of generated controls generated_controls = InspecPlugins::Iggy::CloudFormation::Generate.parse_generate([:template]) printable_controls = InspecPlugins::Iggy::InspecHelper.cfn_controls([:title], generated_controls, [:stack]) InspecPlugins::Iggy::ProfileHelper.render_profile(ui, , [:template], printable_controls) exit 0 end |