Sha256: 91a635d79dda5d96a946f5dcd8c7e197b883ff45860a09d52e749b58b639398c

Contents?: true

Size: 417 Bytes

Versions: 16

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

16 entries across 16 versions & 1 rubygems

Version Path
license-acceptance-1.0.18 lib/license_acceptance/cli_flags/thor.rb
license-acceptance-1.0.13 lib/license_acceptance/cli_flags/thor.rb
license-acceptance-1.0.12 lib/license_acceptance/cli_flags/thor.rb
license-acceptance-1.0.11 lib/license_acceptance/cli_flags/thor.rb
license-acceptance-1.0.8 lib/license_acceptance/cli_flags/thor.rb
license-acceptance-1.0.7 lib/license_acceptance/cli_flags/thor.rb
license-acceptance-1.0.6 lib/license_acceptance/cli_flags/thor.rb
license-acceptance-1.0.5 lib/license_acceptance/cli_flags/thor.rb
license-acceptance-1.0.3 lib/license_acceptance/cli_flags/thor.rb
license-acceptance-1.0.2 lib/license_acceptance/cli_flags/thor.rb
license-acceptance-1.0.0 lib/license_acceptance/cli_flags/thor.rb
license-acceptance-0.2.16 lib/license_acceptance/cli_flags/thor.rb
license-acceptance-0.2.15 lib/license_acceptance/cli_flags/thor.rb
license-acceptance-0.2.13 lib/license_acceptance/cli_flags/thor.rb
license-acceptance-0.2.10 lib/license_acceptance/cli_flags/thor.rb
license-acceptance-0.2.8 lib/license_acceptance/cli_flags/thor.rb