summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-17 17:18:38 -0500
committerJeff Carr <[email protected]>2025-10-17 17:18:38 -0500
commit7cfeaaa25c46d87919b5a61dd2338765f40fc23c (patch)
tree3b3d6cf7540bc3192ef686c737a01afb5a3321d3 /main.go
parent248f081df39436c234f38c3a1980365e2b4673c7 (diff)
lib now named 'argvpb'
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())