class CloudFormationTool::CLI::Status

Public Instance Methods

execute() click to toggle source
# 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