summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-26 09:34:33 -0500
committerJeff Carr <[email protected]>2025-10-26 09:34:33 -0500
commit3c25d4a6aa196b9b685d6c27dfaf6a4998b24598 (patch)
tree336698b5e4a1557639cbfcba9528194bbf34c20a /main.go
parent5314952e14cedbb1d5827f66827c16a58ae05096 (diff)
new argvv0.7.115
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index ee8faa8..83a4296 100644
--- a/main.go
+++ b/main.go
@@ -12,7 +12,7 @@ var workingRepo *gitpb.Repo
func main() {
me = new(mainType)
- me.argv = argvpb.Autocomplete(&argv) // adds shell auto complete to go-args
+ argvpb.Init(&argv, APPNAME, BUILDTIME, VERSION) // adds shell auto-complete
var err error
me.forge, err = forgepb.Init()
@@ -74,11 +74,11 @@ func okExit(thing string) {
}
log.Info("Finished clone on", workingRepo.GetGoPath(), "ok")
me.forge.Save()
- me.argv.GoodExit(thing)
+ argvpb.GoodExit(thing)
}
func badExit(err error) {
log.Info("Total repositories:", me.forge.Repos.Len())
s := log.Sprintf("go-clone error in %s", env.Get("gopath"))
- me.argv.BadExit(s, err)
+ argvpb.BadExit(s, err)
}