From b689239cd3b1471f663f49608fcc8a6feb0a3c8a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 11 Oct 2024 13:55:13 -0500 Subject: initial something. doesn't do anything yet. --- main.go | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 main.go (limited to 'main.go') diff --git a/main.go b/main.go new file mode 100644 index 0000000..96b5223 --- /dev/null +++ b/main.go @@ -0,0 +1,25 @@ +// 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) +} -- cgit v1.2.3