Class: Avmtrf1::Tools::Runner

Inherits:
EacRubyUtils::Console::DocoptRunner
  • Object
show all
Includes:
EacRubyUtils::Console::Speaker
Defined in:
lib/avmtrf1/tools/runner.rb,
lib/avmtrf1/tools/runner/git.rb,
lib/avmtrf1/tools/runner/php.rb,
lib/avmtrf1/tools/runner/red.rb,
lib/avmtrf1/tools/runner/esosti.rb,
lib/avmtrf1/tools/runner/oracle.rb,
lib/avmtrf1/tools/runner/forponto.rb,
lib/avmtrf1/tools/runner/php/docker.rb,
lib/avmtrf1/tools/runner/check_point.rb,
lib/avmtrf1/tools/runner/forponto/saldo.rb,
lib/avmtrf1/tools/runner/git/push_large.rb,
lib/avmtrf1/tools/runner/forponto/espelho.rb,
lib/avmtrf1/tools/runner/forponto/resumos.rb,
lib/avmtrf1/tools/runner/git/issues_check.rb,
lib/avmtrf1/tools/runner/check_point/login.rb,
lib/avmtrf1/tools/runner/oracle/source_get.rb,
lib/avmtrf1/tools/runner/trf1_dspace_base0.rb,
lib/avmtrf1/tools/runner/forponto/marcacoes.rb,
lib/avmtrf1/tools/runner/trf1_dspace_base0/deploy.rb

Defined Under Namespace

Classes: CheckPoint, Esosti, Forponto, Git, Oracle, Php, Red, Trf1DspaceBase0

Constant Summary collapse

DOC =
"Utilidades para AVM-TRF1 (http://redmine.trf1.gov.br/projects/avm-trf1).\n\nUsage:\n  __PROGRAM__ [options] __SUBCOMMANDS__\n  __PROGRAM__ -h | --help\n  __PROGRAM__ --version\n\nOptions:\n  -h --help       Show this screen.\n  -v --version    Show version.\n  -H --headless   Quando usando Selenium n\u00E3o mostra a interface gr\u00E1fica do navegador web.\n"

Instance Method Summary collapse

Instance Method Details

#runObject



29
30
31
32
33
34
35
36
37
# File 'lib/avmtrf1/tools/runner.rb', line 29

def run
  ::Aranha::Selenium::DriverFactory::Base.default_headless = options.fetch('--headless')
  run_with_subcommand
  if options.fetch('--version')
    out(::Avmtrf1::Tools::VERSION + "\n")
  else
    run_with_subcommand
  end
end