class Psychic::Runner::RunnerCLI

Public Instance Methods

runner() click to toggle source
# File lib/psychic/runner/cli.rb, line 10
def runner
  @runner ||= setup_runner
end
setup_runner() click to toggle source
# File lib/psychic/runner/cli.rb, line 14
def setup_runner
  runner_opts = { cwd: Dir.pwd, cli: shell, parameters: options.parameters }
  runner_opts.merge!(Util.symbolized_hash(options))
  Psychic::Runner.new(runner_opts)
end