summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-04 15:35:48 -0600
committerJeff Carr <[email protected]>2024-12-04 15:35:48 -0600
commit0463030e80f480f0d38989f4231db8b1651b40bc (patch)
tree7c9da2db3130f939a7fd74864a54ac21474cc3b7 /main.go
parent923160d70cd4f21896d6c57a39bdcce3e1ae0af6 (diff)
general improvements
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/main.go b/main.go
index 4b9b7c3..0c16e11 100644
--- a/main.go
+++ b/main.go
@@ -25,11 +25,16 @@ func main() {
me.forge = forgepb.Init()
os.Setenv("REPO_WORK_PATH", me.forge.GetGoSrc())
+ // show your forge config settings
+ if argv.ListConf {
+ me.forge.ConfigPrintTable()
+ os.Exit(0)
+ }
+
// processes any --list like options
// may exit
list()
scan()
- repomap()
if argv.RedoGoMod {
me.forge.RillRedoGoMod()
@@ -49,6 +54,7 @@ func main() {
}
}
}
+ me.pp.WriteHelp(os.Stdout)
os.Exit(0)
me.myGui = gui.New()