diff options
| author | Jeff Carr <[email protected]> | 2024-01-01 15:26:36 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-01 15:26:36 -0600 |
| commit | 5aacba7ff2ca5936bbe48449cd5728ad582bc3cf (patch) | |
| tree | fac02e36b2831c4f76e288e3ebe2a9dc70feacba /argv.go | |
initial commit
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ +package main + +/* + this enables command line options from other packages like 'gui' and 'log' +*/ + +import ( + arg "github.com/alexflint/go-arg" + "go.wit.com/log" + + "go.wit.com/gui/gui" +) + + +func init() { + arg.MustParse() + log.Info("INIT() gui args.ArgDebug =", gui.ArgDebug()) +} |
