From 21313117b70fe7aba836d4ffc57ae60b29bb695f Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 25 Sep 2025 02:24:17 -0500 Subject: new argv bash autocomplete --- main.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'main.go') 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() -- cgit v1.2.3