Sha256: 038e92a146314e45e09f4ef383e979f84ec0041231109c40db6c1b5fbb42dc7a

Contents?: true

Size: 808 Bytes

Versions: 17

Compression:

Stored size: 808 Bytes

Contents

module OceanPackage

  class Config

    attr_accessor :workspace_path
    attr_accessor :scheme
    attr_accessor :configuration

    # attr_accessor :ding_enabled
    # attr_accessor :ding_token

    def initialize(params = [])
      argv = CLAide::ARGV.new(params)

      @workspace_path = argv.option("workspace-path", "")
      puts "workspace_path: #{@workspace_path}"

      @scheme = argv.option("scheme", "")
      puts "scheme: #{@scheme}"

      @configuration = argv.option("configuration", "")
      puts "configuration: #{@configuration}"

      # @ding_enabled = argv.flag?("ding-enabled", false)
      # puts "ding_enabled: #{@ding_enabled}"
      #
      # @ding_token = argv.option("ding-token", "")
      # puts "ding_token: #{@ding_token}"



    end

    def valid

    end

  end

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
ocean_package-0.18.0 lib/ocean_package/config.rb
ocean_package-0.17.0 lib/ocean_package/config.rb
ocean_package-0.16.0 lib/ocean_package/config.rb
ocean_package-0.15.0 lib/ocean_package/config.rb
ocean_package-0.14.0 lib/ocean_package/config.rb
ocean_package-0.13.0 lib/ocean_package/config.rb
ocean_package-0.12.0 lib/ocean_package/config.rb
ocean_package-0.11.0 lib/ocean_package/config.rb
ocean_package-0.10.0 lib/ocean_package/config.rb
ocean_package-0.9.0 lib/ocean_package/config.rb
ocean_package-0.7.0 lib/ocean_package/config.rb
ocean_package-0.6.0 lib/ocean_package/config.rb
ocean_package-0.5.0 lib/ocean_package/config.rb
ocean_package-0.4.0 lib/ocean_package/config.rb
ocean_package-0.3.0 lib/ocean_package/config.rb
ocean_package-0.2.0 lib/ocean_package/config.rb
ocean_package-0.1.0 lib/ocean_package/config.rb