class CloudFormationTool::CLI::ListStacks

Public Instance Methods

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