Sha256: d39d81e9c8c26362b47c17ad32eb72d8d90bc5ba49435b6ea8ae9d037f52fc57

Contents?: true

Size: 417 Bytes

Versions: 1

Compression:

Stored size: 417 Bytes

Contents

begin
  require "thor"
rescue => exception
  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-1.0.19 lib/license_acceptance/cli_flags/thor.rb