summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-01 21:46:21 -0500
committerJeff Carr <[email protected]>2024-11-01 21:46:21 -0500
commitd0e1372a6e70493debbf6b0595ac3b2cec3c0a2e (patch)
tree2fbfb4a02c741c41346090b6aa5fd34fd061a8c4 /main.go
parentc8aded73947a710e70d582731bdbaf1cb4b2ef11 (diff)
old code from forgotten commit
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.go b/main.go
index ac9959f..f5e4fac 100644
--- a/main.go
+++ b/main.go
@@ -6,6 +6,7 @@ import (
"go.wit.com/dev/alexflint/arg"
"go.wit.com/gui"
+ "go.wit.com/lib/gui/gowit"
"go.wit.com/lib/gui/repolist"
"go.wit.com/lib/gui/shell"
"go.wit.com/log"
@@ -66,6 +67,10 @@ func main() {
// which should be all the git repositories in ~/go/src & the .config file
me.repos = makeRepoView()
+ if myargs.DumpVersions {
+ gowit.DumpVersions(me.repos.View)
+ os.Exit(0)
+ }
// the left side of the window options
globalDisplayOptions(me.mainBox)