From 5aacba7ff2ca5936bbe48449cd5728ad582bc3cf Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 1 Jan 2024 15:26:36 -0600 Subject: initial commit Signed-off-by: Jeff Carr --- argv.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 argv.go (limited to 'argv.go') diff --git a/argv.go b/argv.go new file mode 100644 index 0000000..017a072 --- /dev/null +++ b/argv.go @@ -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()) +} -- cgit v1.2.3