Class: Avm::Tools::Runner::Git::Issue::Complete
- Inherits:
-
EacRubyUtils::Console::DocoptRunner
- Object
- EacRubyUtils::Console::DocoptRunner
- Avm::Tools::Runner::Git::Issue::Complete
- Includes:
- EacRubyUtils::Console::Speaker
- Defined in:
- lib/avm/tools/runner/git/issue/complete.rb
Constant Summary collapse
- DOC =
"Closes a issue in a Git repository.\n\nUsage:\n __PROGRAM__ [options]\n __PROGRAM__ -h | --help\n\nOptions:\n -h --help Show this screen.\n -B --no-validate-branch Does not validate branch/tag name.\n -y --yes Does not ask for user confirmation.\n"
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
28 29 30 31 32 33 |
# File 'lib/avm/tools/runner/git/issue/complete.rb', line 28 def run complete = ::Avm::Git::Issue::Complete.new() complete. fatal_error('Some validation did not pass') unless complete.valid? complete.run if confirm? end |