Class: CloudFormationTool::CLI::Status
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- CloudFormationTool::CLI::Status
- Defined in:
- lib/cloud_formation_tool/cli/status.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/cloud_formation_tool/cli/status.rb', line 8 def execute if CloudFormation::Stack.new(stack_name).exist? log "OK" else error "Stack #{stack_name} does not exist" end end |