HasFailed signals that the main process should exit with non-zero status
()
| 55 | |
| 56 | // HasFailed signals that the main process should exit with non-zero status |
| 57 | func HasFailed() bool { |
| 58 | return hasFailed |
| 59 | } |
| 60 | |
| 61 | // Display helpful error message in case subcommand name was mistyped. |
| 62 | // This matches Cobra's behavior for root command, which Cobra |