virtigo/main.go

26 lines
336 B
Go
Raw Normal View History

// Copyright 2024 WIT.COM Inc Licensed GPL 3.0
package main
import (
// "log"
"os"
"go.wit.com/log"
"go.wit.com/dev/alexflint/arg"
)
var Version string
var myargs args
func main() {
pp := arg.MustParse(&myargs)
if myargs.Uptime {
pp.WriteHelp(os.Stdout)
os.Exit(0)
}
log.Info("connect to cluser here", myargs.Hosts)
}