Class: CloudFormationTool::CLI::ListStacks
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- CloudFormationTool::CLI::ListStacks
- Includes:
- CloudFormationTool
- Defined in:
- lib/cloud_formation_tool/cli/list_stacks.rb
Constant Summary
Constants included from CloudFormationTool
Instance Method Summary collapse
Methods included from CloudFormationTool
#aws_config, #awsas, #awscdn, #awscf, #awscreds, #awsec2, #awsecs, #awss3, #cf_bucket_name, #find_profile, #profile, #region, #s3_bucket_name
Instance Method Details
#execute ⇒ Object
7 8 9 10 11 |
# File 'lib/cloud_formation_tool/cli/list_stacks.rb', line 7 def execute awscf.describe_stacks.stacks.each do |stack| puts stack.stack_name.ljust(30,' ') + stack.stack_status end end |