summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
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)