diff --git a/cmd/cli/main.go b/cmd/cli/main.go index 0c0a3c9..1b09b01 100644 --- a/cmd/cli/main.go +++ b/cmd/cli/main.go @@ -274,7 +274,9 @@ func main() { } slog.Info("command", "command", subCmd) if os.Args[1] == subCmd.Name { - subCmd.Run(cmdFlagSet, os.Stdout) + if e := subCmd.Run(cmdFlagSet, os.Stdout); e != nil { + log.Fatal(e) + } return } }