Class: Avmtrf1::Tools::Runner::Git::PushLarge
- Inherits:
-
EacRubyUtils::Console::DocoptRunner
- Object
- EacRubyUtils::Console::DocoptRunner
- Avmtrf1::Tools::Runner::Git::PushLarge
- Defined in:
- lib/avmtrf1/tools/runner/git/push_large.rb
Constant Summary collapse
- DOC =
"Realiza push de reposit\u00F3rios grandes\n(Que falham com \"pack exceeds maximum allowed size\").\n\nUsage:\n __PROGRAM__ [options] <source-ref> <target-ref>\n __PROGRAM__ -h | --help\n\nOptions:\n -h --help Mostra esta ajuda.\n -C <git-local> Caminho do reposit\u00F3rio local [default: .].\n -r --remote <remote-name> Nome do remoto [default: origin].\n"
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
25 26 27 28 29 30 31 32 |
# File 'lib/avmtrf1/tools/runner/git/push_large.rb', line 25 def run ::Avmtrf1::Git::PushLarge.new( ::File.(.fetch('-C')), .fetch('--remote'), .fetch('<source-ref>'), .fetch('<target-ref>') ).run end |