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

@@ -15,8 +15,9 @@ import (
)
var saveHistoryEntryCmd = &cobra.Command{
Use: "saveHistoryEntry",
// TODO: hide this from the help info?
Use: "saveHistoryEntry",
Hidden: true,
Short: "[Internal-only] The command used to save history entries",
Run: func(cmd *cobra.Command, args []string) {
ctx := hctx.MakeContext()
lib.CheckFatalError(maybeUploadSkippedHistoryEntries(ctx))