summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-25 02:24:17 -0500
committerJeff Carr <[email protected]>2025-09-25 02:24:17 -0500
commit21313117b70fe7aba836d4ffc57ae60b29bb695f (patch)
treeee49bd514c571b2c5fc375da91e0beb420484f6f /main.go
parent673264006848cd0a6ab2323fc4d325197238a821 (diff)
new argv bash autocompletev0.0.106v0.0.105
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/main.go b/main.go
index 8d8e972..96b3295 100644
--- a/main.go
+++ b/main.go
@@ -10,7 +10,6 @@ import (
"path/filepath"
"unicode"
- "go.wit.com/dev/alexflint/arg"
"go.wit.com/lib/gui/prep"
"go.wit.com/lib/protobuf/forgepb"
"go.wit.com/lib/protobuf/gitpb"
@@ -31,9 +30,7 @@ var debnames map[*gitpb.Repo]string
func main() {
me = new(autoType)
- prep.Bash(ARGNAME, argv.DoAutoComplete) // todo: this line should be: prep.Bash(argv)
- // me.myGui = prep.Gui() // prepares the GUI package for go-args
- me.argpp = arg.MustParse(&argv)
+ me.auto = prep.Bash3(&argv) // add support for bash autocomplete with go-arg
dumpDebug()