class Pod::Command::Vemars::Baselines

Public Class Methods

new(argv) click to toggle source
Calls superclass method
# File lib/cocoapods-vemars/command/vemars/baselines.rb, line 20
def initialize(argv)
  @service_url = argv.option('service_url',nil)
  super
  @additional_args = argv.remainder!
end
options() click to toggle source
# File lib/cocoapods-vemars/command/vemars/baselines.rb, line 14
def self.options
  options = [
    ['--service_url=SERVICE_URL', 'url of vemars CLI service.']
  ]
end

Public Instance Methods

run() click to toggle source
# File lib/cocoapods-vemars/command/vemars/baselines.rb, line 26
def run
  api = Baselines_api.new(@service_url)
  api.getBaselines
end