summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-17 17:18:27 -0500
committerJeff Carr <[email protected]>2025-10-17 17:18:27 -0500
commit34015f3d4ee487efe329d0387458f609343c2f9f (patch)
tree5f9b09170817a6b7c54c331322b1ff09a6882fc6 /main.go
parent686c7f0bd6a69580e2c1503c89cc21c1881d368a (diff)
new name 'argvpb'
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 5975d77..a18b147 100644
--- a/main.go
+++ b/main.go
@@ -9,7 +9,7 @@ import (
"path/filepath"
"github.com/google/uuid"
- "go.wit.com/lib/gui/prep"
+ "go.wit.com/lib/protobuf/argvpb"
"go.wit.com/lib/protobuf/virtpb"
"go.wit.com/log"
)
@@ -25,7 +25,7 @@ var resources embed.FS
func main() {
me = new(virtigoT)
- me.auto = prep.Bash3(&argv) // add support for bash autocomplete with go-arg
+ me.argv = argvpb.Autocomplete(&argv) // adds shell auto complete to go-args
if os.Getenv("VIRTIGO_HOME") == "" {
homeDir, _ := os.UserHomeDir()