Class: Avmtrf1::Tools::Runner
- Inherits:
-
EacRubyUtils::Console::DocoptRunner
- Object
- EacRubyUtils::Console::DocoptRunner
- Avmtrf1::Tools::Runner
- 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/esosti/fetch.rb,
lib/avmtrf1/tools/runner/oracle/query.rb,
lib/avmtrf1/tools/runner/esosti/changed.rb,
lib/avmtrf1/tools/runner/esosti/request.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/oracle/user_clear.rb,
lib/avmtrf1/tools/runner/trf1_dspace_base0.rb,
lib/avmtrf1/tools/runner/forponto/marcacoes.rb,
lib/avmtrf1/tools/runner/inventario_sistemas.rb,
lib/avmtrf1/tools/runner/trf1_dspace_base0/deploy.rb
Defined Under Namespace
Classes: CheckPoint, Esosti, Forponto, Git, InventarioSistemas, 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
#run ⇒ Object
30 31 32 33 34 35 36 37 38 39 |
# File 'lib/avmtrf1/tools/runner.rb', line 30 def run ::Aranha::Selenium::DriverFactory::Base.default_headless = .fetch('--headless') if .fetch('--version') out(::Avmtrf1::Tools::VERSION + "\n") else run_with_subcommand end rescue ::Avmtrf1::Ruby::Gems::NotFoundError => e on_gem_not_found(e.dependency) end |