summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-22 07:35:37 -0600
committerJeff Carr <[email protected]>2025-02-22 07:35:37 -0600
commit1970e40d0ba77198e7f592f8df5047c20dbdc383 (patch)
tree659d58021526ca6aa91d432d6a45bd08832c2fe1 /main.go
parentcf2f07f2730c19e7f6ff1293f5d01cf11371febb (diff)
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.go b/main.go
index 9f62d3f..eae053b 100644
--- a/main.go
+++ b/main.go
@@ -5,6 +5,7 @@ import (
"os"
"path/filepath"
+ "go.wit.com/dev/alexflint/arg"
"go.wit.com/gui"
"go.wit.com/lib/fhelp"
"go.wit.com/lib/gui/shell"
@@ -19,9 +20,14 @@ var DATE string
//go:embed resources/*
var resources embed.FS
+var argv args
+
func main() {
me = new(mainType)
+ gui.InitArg()
+ arg.MustParse(&argv)
+
goSrc, hasWork, err := fhelp.DetermineGoPath()
if err != nil {
badExit(err)