summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-25 02:09:08 -0500
committerJeff Carr <[email protected]>2025-09-25 02:09:08 -0500
commita2da3b9a08d60d2acecb941c9dd8c9d498555826 (patch)
tree4037103fe5b6635259e5a27efcd4665da73bdde5 /main.go
parent72a360cb950c48f1556ce48b5fad16b17ca7fcc4 (diff)
new argv bash autocompletev0.0.24v0.0.23v0.0.22v0.0.21
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/main.go b/main.go
index 0d3321c..2351110 100644
--- a/main.go
+++ b/main.go
@@ -12,7 +12,6 @@ import (
"plugin"
"unicode"
- "go.wit.com/dev/alexflint/arg"
"go.wit.com/lib/gui/prep"
"go.wit.com/log"
)
@@ -29,9 +28,8 @@ var resources embed.FS
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.pp = arg.MustParse(&argv)
+ 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.pb = NewBlocks()