mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-16 01:48:06 +02:00
Better organize the cobra generated help page
This commit is contained in:
@ -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"})
|
||||
}
|
||||
|
Reference in New Issue
Block a user