Files
vantage-ctl/main.go
T
mrhid6 b7f34045e6 feat: Add the vantagectl module and its cobra root
Its own module rather than a package under shared, so cobra and pflag stay
out of the module graphs of server, admin and sitesvc, which never use
them.
2026-09-07 13:45:20 +00:00

20 lines
385 B
Go

// Command vantagectl backs up and restores a Vantage control plane.
package main
import (
"fmt"
"os"
"gitea.hostxtra.co.uk/mrhid6/vantage/vantagectl/internal/cmd"
)
// Version is stamped at build time with -ldflags "-X main.Version=...".
var Version = "dev"
func main() {
if err := cmd.Execute(Version); err != nil {
fmt.Fprintln(os.Stderr, "error:", err)
os.Exit(1)
}
}