Files
vantage-ctl/main.go
T
mrhid6 4ee3382e2b refactor: stand up vantage-ctl as its own repository
vantagectl/ becomes the repository root, so the module is
gitea.hostxtra.co.uk/vantage/vantage-ctl and the image is
vantage/vantage-ctl. The command keeps the name vantagectl.

Release tags become a bare v*: the vantagectl/ prefix existed to
namespace one component inside a shared repository, and unlike the
agent's agent/v* nothing reads this one programmatically.
2026-09-08 09:05:21 +00:00

20 lines
379 B
Go

// Command vantagectl backs up and restores a Vantage control plane.
package main
import (
"fmt"
"os"
"gitea.hostxtra.co.uk/vantage/vantage-ctl/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)
}
}