MCPcopy Create free account
hub / github.com/cli/cli / HasFailed

Function HasFailed

pkg/cmd/root/help.go:57–59  ·  view source on GitHub ↗

HasFailed signals that the main process should exit with non-zero status

()

Source from the content-addressed store, hash-verified

55
56// HasFailed signals that the main process should exit with non-zero status
57func 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

Callers 1

MainFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected