Sha256: 44a124d477a17a52d83e2561efa241f488f4a8dd35e27e81bf9e391d52968bd7

Contents?: true

Size: 426 Bytes

Versions: 3

Compression:

Stored size: 426 Bytes

Contents

begin
  require "thor" unless defined?(Thor)
rescue
  raise "Must have thor gem installed to use this mixin"
end

module LicenseAcceptance
  module CLIFlags

    module Thor

      def self.included(klass)
        klass.class_option :chef_license,
          type: :string,
          desc: "Accept the license for this product and any contained products: accept, accept-no-persist, accept-silent"
      end

    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
license-acceptance-2.1.13 lib/license_acceptance/cli_flags/thor.rb
license-acceptance-2.1.2 lib/license_acceptance/cli_flags/thor.rb
license-acceptance-2.1.1 lib/license_acceptance/cli_flags/thor.rb