Class: Cloudit::Command::Validate
- Defined in:
- lib/cloudit/command/validate.rb
Constant Summary collapse
- VALID_METHODS =
['help']
- DESCRIPTION =
"Validate CloudFormation template"
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#execute, #help, #initialize, #invalid_method, #parser, #slop_opts
Constructor Details
This class inherits a constructor from Cloudit::Command::Base
Instance Method Details
#index ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/cloudit/command/validate.rb', line 9 def index if @opts.help? $stdout.puts slop_opts else validate_template @opts[:region] end end |