diff options
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | complete.go | 9 |
2 files changed, 10 insertions, 1 deletions
@@ -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() |
