Sha256: 0ed1e94aeadcfe0a6ea97a33d6d28bec6d62a73202ed6b50ae32d49196b17aad

Contents?: true

Size: 632 Bytes

Versions: 6

Compression:

Stored size: 632 Bytes

Contents

require "sfn"

module Sfn
  class Config
    # List command configuration
    class List < Sfn::Config
      attribute(
        :attribute, String,
        :multiple => true,
        :description => "Attribute of stack to print",
        :short_flag => "a",
      )
      attribute(
        :all_attributes, [TrueClass, FalseClass],
        :description => "Print all available attributes",
        :short_flag => "A",
      )
      attribute(
        :status, String,
        :multiple => true,
        :description => 'Match stacks with given status. Use "none" to disable.',
        :short_flag => "s",
      )
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sfn-3.1.8 lib/sfn/config/list.rb
sfn-3.1.6 lib/sfn/config/list.rb
sfn-3.1.4 lib/sfn/config/list.rb
sfn-3.1.2 lib/sfn/config/list.rb
sfn-3.1.0 lib/sfn/config/list.rb
sfn-3.0.32 lib/sfn/config/list.rb