summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-25 01:09:41 -0500
committerJeff Carr <[email protected]>2025-09-25 01:09:41 -0500
commit5e60e8d76d84e8c58cc070102fb4fd8848159a24 (patch)
tree40a9a31e3a7fdf80112f72cfb576ad426c455cf4 /main.go
parent8b199273e8b1c65a3f49deccb41521c28dc0225a (diff)
new autocomplete
Diffstat (limited to 'main.go')
-rw-r--r--main.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/main.go b/main.go
index cad220e..1a4fd50 100644
--- a/main.go
+++ b/main.go
@@ -3,7 +3,6 @@ package main
import (
"os"
- "go.wit.com/dev/alexflint/arg"
"go.wit.com/lib/gui/prep"
"go.wit.com/lib/protobuf/forgepb"
"go.wit.com/lib/protobuf/gitpb"
@@ -16,17 +15,18 @@ var BUILDTIME string
var ARGNAME string = "go-clone"
-var pp *arg.Parser
+// var pp *arg.Parser
var forge *forgepb.Forge
+var auto *prep.Auto // more experiments for bash handling
var workingRepo *gitpb.Repo
func main() {
- log.Info("go-clone version", VERSION, "built on", BUILDTIME)
- // command line parsing & handling
- prep.Bash(ARGNAME, argv.DoAutoComplete) // todo: make this: prep.Bash(argv)
-
- pp = arg.MustParse(&argv)
+ // log.Info("go-clone version", VERSION, "built on", BUILDTIME)
+ // prep.Bash(ARGNAME, argv.DoAutoComplete) // todo: make this: prep.Bash(argv)
+ // pp = arg.MustParse(&argv)
+ // prep.Gui() // prepares the GUI package for go-args
+ auto = prep.Bash3(&argv) // this line should be: prep.Bash(&argv)
forge = forgepb.Init()