diff options
| author | Jeff Carr <[email protected]> | 2025-09-11 03:28:00 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-11 03:28:00 -0500 |
| commit | 8d5fa8609eb6957ce966f1d31445de16263b1a6e (patch) | |
| tree | 1ffd2cafdf47a91281f4daf9588e0a7030e599be | |
| parent | 1a5647f96a1d32dc2540faed3f8d6f9e7ca6304e (diff) | |
new forge init()
| -rw-r--r-- | main.go | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -25,20 +25,18 @@ var forge *forgepb.Forge var configSave bool func main() { - var check *gitpb.Repo + log.Info("go-mod-clean 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-mod-clean version", VERSION, "built on", BUILDTIME) - // read in forge info cfg := configInit() forge = forgepb.InitFromConfig(cfg) // figure out what directory we are running in - check = findPwdRepo() + check := findPwdRepo() if check == nil { log.Info("this directory isn't in a golang project (not in ~/go/src nor a go.work file)") badExit(nil, nil) |
