Sha256: c0eda778324c73ab76b79bcbdb8753fb84496bde48a174c592fd4416d386a7ad

Contents?: true

Size: 254 Bytes

Versions: 6

Compression:

Stored size: 254 Bytes

Contents

module Percheron
  module CLI
    class ListCommand < AbstractCommand

      def execute
        Stack.all(config).each do |stack_name, stack|
          puts Percheron::Formatters::Stack::Table.new(stack).generate
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
percheron-0.3.0 lib/percheron/cli/list_command.rb
percheron-0.2.4 lib/percheron/cli/list_command.rb
percheron-0.2.3 lib/percheron/cli/list_command.rb
percheron-0.2.2 lib/percheron/cli/list_command.rb
percheron-0.2.1 lib/percheron/cli/list_command.rb
percheron-0.2.0 lib/percheron/cli/list_command.rb