Class: NoradSpecRunner::Cli

Inherits:
Thor
  • Object
show all
Defined in:
lib/norad_spec_runner/cli.rb

Overview

Drives the CLI for norad_spec_runner

Instance Method Summary collapse

Instance Method Details

#localObject

FIXME: this class doesn’t exist any more



40
41
42
43
# File 'lib/norad_spec_runner/cli.rb', line 40

def local
  spectask = NoradSpecRunner::Task.new(options[:tests], options[:results_file])
  spectask.run
end

#remote(encoded_key) ⇒ Object



27
28
29
30
# File 'lib/norad_spec_runner/cli.rb', line 27

def remote(encoded_key)
  spectask = NoradSpecRunner::RemoteTask.new(encoded_key, options)
  spectask.run
end