class Percheron::Commands::List
Public Instance Methods
execute()
click to toggle source
# File lib/percheron/commands/list.rb, line 7 def execute Stack.get(config, stack_name).each do |_, stack| begin stack.valid? puts("\n", Percheron::Formatters::Stack::Table.new(stack).generate) rescue Percheron::Errors::StackInvalid => e signal_usage_error(e.message) end end end