Class: Pact::MockService::CLI::CustomThor
- Inherits:
-
Thor
- Object
- Thor
- Pact::MockService::CLI::CustomThor
- Defined in:
- lib/pact/mock_service/cli/custom_thor.rb
Overview
Custom Thor task allows the following:
‘script arg1 arg2` to be interpreted as `script <default_task> arg1 arg2` `–option 1 –option 2` to be interpreted as `–option 1 2` (the standard Thor format for multiple value options) `script –help` to display the help for the default task instead of the command list
Direct Known Subclasses
Class Method Summary collapse
-
.exit_on_failure? ⇒ Boolean
Thor 1.0 deprecation guard.
Class Method Details
.exit_on_failure? ⇒ Boolean
Thor 1.0 deprecation guard
14 15 16 |
# File 'lib/pact/mock_service/cli/custom_thor.rb', line 14 def self.exit_on_failure? # Thor 1.0 deprecation guard false end |