Class: Avm::Tools::Runner::EacRailsBase0::Deploy
- Inherits:
-
EacRubyUtils::Console::DocoptRunner
- Object
- EacRubyUtils::Console::DocoptRunner
- Avm::Tools::Runner::EacRailsBase0::Deploy
- Includes:
- EacRubyUtils::Console::Speaker
- Defined in:
- lib/avm/tools/runner/eac_rails_base0/deploy.rb
Constant Summary collapse
- DOC =
<<~DOCOPT Deploy for EacRailsBase0 instance. Usage: __PROGRAM__ [options] __PROGRAM__ -h | --help Options: -h --help Show this screen. -r --reference=<git-reference> Git reference to deploy. DOCOPT
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/avm/tools/runner/eac_rails_base0/deploy.rb', line 26 def run result = ::Avm::Stereotypes::EacRailsBase0::Deploy.new( context(:instance), .fetch('--reference') ).run if result.error? fatal_error result.to_s else infov 'Result', result.label end end |