Better organize the cobra generated help page

This commit is contained in:
David Dworken
2022-11-14 20:18:22 -08:00
parent ecdd22dcdd
commit 27bbe97cb2
15 changed files with 65 additions and 38 deletions

View File

@ -24,4 +24,8 @@ func Execute() {
}
}
func init() {}
func init() {
rootCmd.AddGroup(&cobra.Group{ID: GROUP_ID_QUERYING, Title: "History Searching"})
rootCmd.AddGroup(&cobra.Group{ID: GROUP_ID_MANAGEMENT, Title: "History Management"})
rootCmd.AddGroup(&cobra.Group{ID: GROUP_ID_CONFIG, Title: "Configuration"})
}