MCPcopy Create free account
hub / github.com/Scalingo/cli / errorQuitWithHelpMessage

Function errorQuitWithHelpMessage

cmd/error.go:59–65  ·  view source on GitHub ↗
(ctx context.Context, err error, c *cli.Command, command string)

Source from the content-addressed store, hash-verified

57}
58
59func errorQuitWithHelpMessage(ctx context.Context, err error, c *cli.Command, command string) {
60 displayError(ctx, err)
61 fmt.Print("\n")
62 _ = cli.ShowCommandHelp(ctx, c, command)
63
64 os.Exit(1)
65}
66
67func errorQuit(ctx context.Context, err error) {
68 displayError(ctx, err)

Callers 4

projects.goFile · 0.85
addons.goFile · 0.85
apps.goFile · 0.85

Calls 1

displayErrorFunction · 0.85

Tested by

no test coverage detected