Sha256: 6e74b3b348b76a6b9d3a372735b8727a98746259451a867f9f603d7870349f8a

Contents?: true

Size: 404 Bytes

Versions: 1

Compression:

Stored size: 404 Bytes

Contents

begin
  require "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

1 entries across 1 versions & 1 rubygems

Version Path
license-acceptance-2.0.0 lib/license_acceptance/cli_flags/thor.rb