Files
2026-10-01 23:52:15 +02:00

20 lines
390 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// sultan – verteiltes Ingress-Routing mit ZeroTrust-Service-Discovery.
// Die Befehle sind in pkg/cli implementiert.
package main
import (
"context"
"os"
"os/signal"
"syscall"
"sultan/pkg/cli"
)
func main() {
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
code := cli.Run(ctx, os.Args[1:], os.Stdout, os.Stderr)
stop()
os.Exit(code)
}