Sha256: ff264b0246f05b037823c6c63abf3ef4e84f86b8a789f44a455f763ef5316e76
Contents?: true
Size: 470 Bytes
Versions: 19
Compression:
Stored size: 470 Bytes
Contents
module Percheron module Commands class List < Abstract parameter('STACK_NAME', 'stack name', required: false) 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 end end end
Version data entries
19 entries across 19 versions & 1 rubygems