class StackMaster::Commands::Outputs

Public Instance Methods

perform() click to toggle source
# File lib/stack_master/commands/outputs.rb, line 10
def perform
  if stack
    tp.set :max_width, self.window_size
    tp stack.outputs, :output_key, :output_value, :description
  else
    failed("Stack doesn't exist")
  end
end

Private Instance Methods

stack() click to toggle source
# File lib/stack_master/commands/outputs.rb, line 21
def stack
  @stack ||= Stack.find(@stack_definition.region, @stack_definition.stack_name)
end