package main import ( "context" "os" "os/signal" "syscall" "gitea.maximumdirect.net/eric/audita/v3/internal/cli" ) func main() { os.Exit(run()) } func run() int { ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM) defer stop() return cli.Run(ctx, os.Args[1:], os.Stdout, os.Stderr) }