From bcabf1b3b75f86f09114116afb2636b507ededcc Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 8 Jan 2025 00:51:53 -0600 Subject: move COBOL like print table into forgepb --- main.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'main.go') 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("") } -- cgit v1.2.3