summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-08 00:51:53 -0600
committerJeff Carr <[email protected]>2025-01-08 00:51:53 -0600
commitbcabf1b3b75f86f09114116afb2636b507ededcc (patch)
treeab3d79102bba613ddc43bc3a2a1daee9003b0fdb /main.go
parentd5143b94b8527eb94e09f9c46443a2e359e1219b (diff)
move COBOL like print table into forgepb
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 faf49e4..d90e574 100644
--- a/main.go
+++ b/main.go
@@ -70,7 +70,7 @@ func main() {
me.forge = forgepb.Init()
me.found = new(gitpb.Repos)
argv.Checkout.User.findRepos()
- doHumanTable()
+ me.forge.PrintHumanTable(me.found)
okExit("")
}
@@ -79,7 +79,7 @@ func main() {
me.forge = forgepb.Init()
me.found = new(gitpb.Repos)
argv.Checkout.Devel.findRepos()
- doHumanTable()
+ me.forge.PrintHumanTable(me.found)
okExit("")
}
@@ -88,7 +88,7 @@ func main() {
me.forge = forgepb.Init()
me.found = new(gitpb.Repos)
argv.Checkout.Master.findRepos()
- doHumanTable()
+ me.forge.PrintHumanTable(me.found)
}
log.Info("make 'user' the default here?")
okExit("")
@@ -101,7 +101,7 @@ func main() {
doCheckDirtyAndConfigSave()
me.found = new(gitpb.Repos)
findDirty()
- doHumanTable()
+ me.forge.PrintHumanTable(me.found)
okExit("")
}
@@ -112,7 +112,7 @@ func main() {
if argv.Show != "" {
repo := me.forge.FindByGoPath(argv.Show)
- HumanPrintRepo(repo)
+ me.forge.HumanPrintRepo(repo)
okExit("")
}
@@ -131,7 +131,7 @@ func main() {
if argv.List != nil {
argv.List.findRepos()
// print out the repos
- doHumanTable()
+ me.forge.PrintHumanTable(me.found)
okExit("patches")
}
if argv.Patch != nil {
@@ -157,7 +157,7 @@ func main() {
// nothing else was specified to be done,
// then just list the table to stdout
if gui.NoGui() {
- doHumanTable()
+ me.forge.PrintHumanTable(me.found)
okExit("")
}