summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-25 01:40:54 -0500
committerJeff Carr <[email protected]>2025-09-25 01:40:54 -0500
commit5f2f877001dfa6d26f3a2ec30ff4852db124a7e3 (patch)
tree175884ed8fca775f093089f0fbba31b4a26aa01f /main.go
parentdcac6d6608dc2106fe6217d3279e0052591454bc (diff)
new autocomplete methodv0.23.121
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 af89b57..547b988 100644
--- a/main.go
+++ b/main.go
@@ -7,7 +7,6 @@ import (
"os"
"path/filepath"
- "go.wit.com/dev/alexflint/arg"
"go.wit.com/lib/fhelp"
"go.wit.com/lib/gadgets"
"go.wit.com/lib/gui/prep"
@@ -27,9 +26,8 @@ var argv args
func main() {
me = new(autoType)
- prep.Bash(ARGNAME, argv.DoAutoComplete) // 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) // this line should be: prep.Bash(&argv)
me.forge = forgepb.Init()
me.forge.ScanRepoDir() // looks for new dirs, checks existing repos for changes