summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-11 13:55:13 -0500
committerJeff Carr <[email protected]>2024-10-11 13:55:13 -0500
commitb689239cd3b1471f663f49608fcc8a6feb0a3c8a (patch)
treef608fee8601caa829c32da718590c6003d913d2d /main.go
initial something. doesn't do anything yet.v0.0.1
Diffstat (limited to 'main.go')
-rw-r--r--main.go25
1 files changed, 25 insertions, 0 deletions
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)
+}