diff options
| author | Jeff Carr <[email protected]> | 2025-09-25 01:09:41 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-25 01:09:41 -0500 |
| commit | 5e60e8d76d84e8c58cc070102fb4fd8848159a24 (patch) | |
| tree | 40a9a31e3a7fdf80112f72cfb576ad426c455cf4 /main.go | |
| parent | 8b199273e8b1c65a3f49deccb41521c28dc0225a (diff) | |
new autocomplete
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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() |
