summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/main.go b/main.go
index 80030d1..d158e8b 100644
--- a/main.go
+++ b/main.go
@@ -14,10 +14,9 @@ import (
sync "sync"
"time"
- "github.com/svent/go-nbreader"
-
"github.com/google/uuid"
- "go.wit.com/lib/gui/prep"
+ "github.com/svent/go-nbreader"
+ "go.wit.com/lib/protobuf/argvpb"
"go.wit.com/log"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)
@@ -32,8 +31,8 @@ var resources embed.FS
func main() {
me = new(gusconf)
- me.myGui = prep.Gui() // prepares the GUI package for go-args
- me.auto = prep.Bash3(&argv) // add support for bash autocomplete with go-arg
+ me.myGui = argvpb.Gui() // prepares the GUI package for go-args
+ me.argv = argvpb.Autocomplete(&argv) // adds shell auto complete to go-args
log.Info("tmp hack", uuid.New().String())