diff options
Diffstat (limited to 'complete.go')
| -rw-r--r-- | complete.go | 9 |
1 files changed, 9 insertions, 0 deletions
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() |
