summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--complete.go9
2 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3d20d04..f48a1bc 100644
--- a/Makefile
+++ b/Makefile
@@ -111,7 +111,7 @@ test-build-quick:
cd ~/go/src/go.wit.com/lib/xgb/ && git checkout go.mod
cd ~/go/src/go.wit.com/lib/xgb/ && time guireleaser --gui andlabs quick
-# time GUIRELEASE_REASON="safe-build" make test-build-new
+# time GUIRELEASE_REASON="automated" make test-build
test-build:
wit build install # NEVER REMOVE LINE DUMBASS
-rm ~/go/bin/forged
diff --git a/complete.go b/complete.go
index c82bcde..2b8258a 100644
--- a/complete.go
+++ b/complete.go
@@ -6,6 +6,7 @@ import (
"go.wit.com/dev/alexflint/arg"
"go.wit.com/gui"
+ "go.wit.com/lib/fhelp"
"go.wit.com/lib/protobuf/argvpb"
)
@@ -27,6 +28,14 @@ the repositories in the go.sum file using git clone`
handles shell autocomplete
*/
+func (args) InitGui() error {
+ // panic("got here")
+ arg.Register(&gui.ArgvGui)
+ // me.gui = gui.PreInit()
+ me.myGui = fhelp.Gui()
+ return nil
+}
+
func (args) ArgvGui() error {
// me.myGui = fhelp.Gui() // adds the GUI package argv support
me.gui = gui.New()