Sha256: fa942e83bd72342535ced9ef00c05c75ea365b473849aa2ae5f03bb9defbc725

Contents?: true

Size: 422 Bytes

Versions: 2

Compression:

Stored size: 422 Bytes

Contents

module DataForge
  module CLI

    autoload :Main, 'data_forge/cli/main'
    autoload :Options, 'data_forge/cli/options'


    class << self

      attr_reader :command_script, :user_params



      def parse_options(args, stdout)
        Options.parse(args, stdout).tap do |options|
          @command_script = options.command_script
          @user_params = options.user_params
        end
      end

    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
data_forge-0.1.1 lib/data_forge/cli.rb
data_forge-0.1 lib/data_forge/cli.rb