Sha256: 174db15f88dd5c7319fc7578f20a3bb0d1054578acb8e5f8e75cbe01d2949fd8

Contents?: true

Size: 804 Bytes

Versions: 47

Compression:

Stored size: 804 Bytes

Contents

require 'mixlib/cli'
require 'rbconfig'
require 'pathname'
require 'idlc-sdk-pfm/command/base'
require 'idlc-sdk-pfm/validator'

module Pfm
  module Command
    # ## SharedValidatorOptions
    #
    # These CLI options are shared amongst the validator commands
    module SharedValidatorOptions
      include Mixlib::CLI

      option :circle_ci,
             short:        '-c',
             long:         '--circle-ci',
             description: 'Use Circle Ci artifact output directories',
             boolean: true,
             default: false
    end

    # ## ValidatorCommands
    #
    # This module is the namespace for all subcommands of `pfm validate`
    module ValidatorCommands
      def self.build(class_name, params)
        const_get(class_name).new(params)
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
idlc-sdk-pfm-1.2.2 lib/idlc-sdk-pfm/command/validator_commands.rb
idlc-sdk-pfm-1.2.1 lib/idlc-sdk-pfm/command/validator_commands.rb
idlc-sdk-pfm-1.2.0 lib/idlc-sdk-pfm/command/validator_commands.rb
idlc-sdk-pfm-1.1.4 lib/idlc-sdk-pfm/command/validator_commands.rb
idlc-sdk-pfm-1.1.3 lib/idlc-sdk-pfm/command/validator_commands.rb
idlc-sdk-pfm-1.1.2 lib/idlc-sdk-pfm/command/validator_commands.rb
idlc-sdk-pfm-1.1.1 lib/idlc-sdk-pfm/command/validator_commands.rb
idlc-sdk-pfm-1.1.0 lib/idlc-sdk-pfm/command/validator_commands.rb
idlc-sdk-pfm-1.0.21 lib/idlc-sdk-pfm/command/validator_commands.rb
idlc-sdk-pfm-1.0.20 lib/idlc-sdk-pfm/command/validator_commands.rb
idlc-sdk-pfm-1.0.19 lib/idlc-sdk-pfm/command/validator_commands.rb
idlc-sdk-pfm-1.0.18 lib/idlc-sdk-pfm/command/validator_commands.rb
idlc-sdk-pfm-1.0.17 lib/idlc-sdk-pfm/command/validator_commands.rb
idlc-sdk-pfm-1.0.16 lib/idlc-sdk-pfm/command/validator_commands.rb
idlc-sdk-pfm-1.0.15 lib/idlc-sdk-pfm/command/validator_commands.rb
idlc-sdk-pfm-1.0.14 lib/idlc-sdk-pfm/command/validator_commands.rb
idlc-sdk-pfm-1.0.13 lib/idlc-sdk-pfm/command/validator_commands.rb
idlc-sdk-pfm-1.0.12 lib/idlc-sdk-pfm/command/validator_commands.rb
idlc-sdk-pfm-1.0.11 lib/idlc-sdk-pfm/command/validator_commands.rb
idlc-sdk-pfm-1.0.10 lib/idlc-sdk-pfm/command/validator_commands.rb