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