Files
audita/cmd/audita/main.go
Eric Rakestraw da5b8913d1
All checks were successful
ci/woodpecker/tag/release Pipeline was successful
Migrate Audita to the v4 module path
2026-11-17 19:57:22 +00:00

22 lines
398 B
Go

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