Module: Elastomer::CLI::FailureHook
- Defined in:
- lib/elastomer/cli.rb
Instance Method Summary collapse
-
#exit_on_failure? ⇒ Boolean
This method, defined on a Thor class, causes it to exit with nonzero status if a command fails.
Instance Method Details
#exit_on_failure? ⇒ Boolean
This method, defined on a Thor class, causes it to exit with nonzero status if a command fails. By default, Thor doesn’t exit if a command fails, and the eventual exit status is zero (success).
27 28 29 |
# File 'lib/elastomer/cli.rb', line 27 def exit_on_failure? true end |