MCPcopy Index your code
hub / github.com/databus23/helm-diff / main

Function main

main.go:15–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13)
14
15func main() {
16 if err := cmd.New().Execute(); err != nil {
17 var cmdErr cmd.Error
18 switch {
19 case errors.As(err, &cmdErr):
20 os.Exit(cmdErr.Code)
21 default:
22 os.Exit(1)
23 }
24 }
25}

Callers

nothing calls this directly

Calls 1

NewFunction · 0.92

Tested by

no test coverage detected