module Elastomer::CLI::FailureHook

Public Instance Methods

exit_on_failure?() click to toggle source

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).

# File lib/elastomer/cli.rb, line 27
def exit_on_failure?
  true
end