summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-11 03:28:07 -0500
committerJeff Carr <[email protected]>2025-09-11 03:28:07 -0500
commitad1144efe5d937ebcd89dcded5834a0911fe3209 (patch)
treef6589775e82ec3f0451dd8b892c766b73d928b6e /main.go
parentfa876aa17d653043f51dba5725c41b0db68d8efc (diff)
new forge init()
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.go b/main.go
index c140b97..879819b 100644
--- a/main.go
+++ b/main.go
@@ -31,8 +31,10 @@ func main() {
me.myGui = prep.Gui() // prepares the GUI package for go-args
me.pp = arg.MustParse(&argv)
- // load the ~/.config/forge/ config
- me.forge = forgepb.Init()
+ // read in forge info
+ cfg := configInit()
+ me.forge = forgepb.InitFromConfig(cfg)
+
me.found = new(gitpb.Repos)
fhelp.CheckGoModCleanExit()