Sha256: 723a83475ff3018f2dbab4ea2cc645dd18afd2b3d25cdc9465ef73561c45697f

Contents?: true

Size: 479 Bytes

Versions: 1

Compression:

Stored size: 479 Bytes

Contents

begin
  require "mixlib/cli"
rescue
  raise "Must have mixlib-cli gem installed to use this mixin"
end

module LicenseAcceptance
  module CLIFlags

    module MixlibCLI

      def self.included(klass)
        klass.option :chef_license,
          long: "--chef-license ACCEPTANCE",
          description: "Accept the license for this product and any contained products ('accept', 'accept-no-persist', or 'accept-silent')",
          required: false
      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/mixlib_cli.rb