Sha256: 04949631a0db39852603ccef2c15f222c0e8156106caad0282cfe84a9a132dec

Contents?: true

Size: 803 Bytes

Versions: 2

Compression:

Stored size: 803 Bytes

Contents

module MDQT
  class CLI
    require 'mdqt/cli/base'

    Options =
      Struct.new(
        :service,
        :hash,
        :cache,
        :refresh,
        :verify_with,
        :validate,
        :all,
        :explain,
        :tls_risky,
        :save_to,
        :list,
        :verbose
      ) do
        def initialize(**args)
          options = {
            service: :not_required,
            hash: nil,
            cache: nil,
            refresh: nil,
            verify_with: nil,
            validate: nil,
            all: nil,
            explain: nil,
            tls_risky: nil,
            save_to: nil,
            list: nil,
            verbose: nil,
            **MDQT::CLI::Defaults.cli_defaults
          }
          super(**options, **args)
        end
      end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aaf-mdqt-0.8.8 lib/mdqt/cli/options.rb
aaf-mdqt-0.8.7 lib/mdqt/cli/options.rb