diff options
| author | Jeff Carr <[email protected]> | 2024-10-11 13:55:13 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-11 13:55:13 -0500 |
| commit | b689239cd3b1471f663f49608fcc8a6feb0a3c8a (patch) | |
| tree | f608fee8601caa829c32da718590c6003d913d2d /main.go | |
initial something. doesn't do anything yet.v0.0.1
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -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) +} |
