* The default output goes to stdout and stderr. You can customise this for special * applications. You can also customise the display of errors by overriding outputError. * * The configuration properties are all functions: * * // change how output being written, defaults to stdout
(configuration)
| 244 | */ |
| 245 | |
| 246 | configureOutput(configuration) { |
| 247 | if (configuration === undefined) return this._outputConfiguration; |
| 248 | |
| 249 | this._outputConfiguration = { |
| 250 | ...this._outputConfiguration, |
| 251 | ...configuration, |
| 252 | }; |
| 253 | return this; |
| 254 | } |
| 255 | |
| 256 | /** |
| 257 | * Display the help or a custom message after an error occurs. |
no outgoing calls