Class: Avm::Tools::Runner::Git::Deploy

Inherits:
EacRubyUtils::Console::DocoptRunner
  • Object
show all
Includes:
EacRubyUtils::Console::Speaker, EacRubyUtils::SimpleCache
Defined in:
lib/avm/tools/runner/git/deploy.rb

Constant Summary collapse

DOC =
"Deploy a Git revision to a location (Local or remote).\n\n  Usage:\n  __PROGRAM__ [options] <target-url> [<append-directories>...]\n__PROGRAM__ -h | --help\n\nOptions:\n  -h --help                     Mostra esta ajuda.\n  -r --reference=<reference>    Reference [default: HEAD].\n  -i --instance=<instance-id>   Read entries from instance with id=<instance-id>.\n"

Instance Method Summary collapse

Instance Method Details

#runObject



30
31
32
33
34
35
# File 'lib/avm/tools/runner/git/deploy.rb', line 30

def run
  input_banner
  validate
  main_info_banner
  deploy
end