Sha256: e54870b24b7bad6ba0fdbbfde2e40f8a69821c0f86bcb1826bbf64d5cde39e31

Contents?: true

Size: 941 Bytes

Versions: 10

Compression:

Stored size: 941 Bytes

Contents

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

module Pfm
  module Command
    # ## SharedGeneratorOptions
    #
    # These CLI options are shared amongst the generator commands
    module SharedGeneratorOptions
      include Mixlib::CLI

      # You really want these to have default values, as
      # they will likely be used all over the place.
      # option :verbose,
      #        short:        '-V',
      #        long:         '--verbose',
      #        description:  'Show detailed output from the generator',
      #        boolean:      true,
      #        default:      false
    end

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
iapi-idlc-sdk-pfm-1.0.13 lib/iapi-idlc-sdk-pfm/command/generator_commands.rb
iapi-idlc-sdk-pfm-1.0.12 lib/iapi-idlc-sdk-pfm/command/generator_commands.rb
iapi-idlc-sdk-pfm-1.0.11 lib/iapi-idlc-sdk-pfm/command/generator_commands.rb
iapi-idlc-sdk-pfm-1.0.10 lib/iapi-idlc-sdk-pfm/command/generator_commands.rb
iapi-idlc-sdk-pfm-1.0.9 lib/iapi-idlc-sdk-pfm/command/generator_commands.rb
iapi-idlc-sdk-pfm-1.0.8 lib/iapi-idlc-sdk-pfm/command/generator_commands.rb
iapi-idlc-sdk-pfm-1.0.7 lib/iapi-idlc-sdk-pfm/command/generator_commands.rb
iapi-idlc-sdk-pfm-1.0.6 lib/iapi-idlc-sdk-pfm/command/generator_commands.rb
iapi-idlc-sdk-pfm-1.0.5 lib/iapi-idlc-sdk-pfm/command/generator_commands.rb
iapi-idlc-sdk-pfm-1.0.4 lib/iapi-idlc-sdk-pfm/command/generator_commands.rb