CommandgainsFlags []Flag{Name, Arg, Desc, Default}andExamples; every registration fills them.TestHelpIsCompletefails on a usage flag without a description, a description for a flag not in the usage, a command without an example, or an example that does not resolve to its own command. An example may end in one shell redirect.help <noun>: summary, USAGE, READ and WRITE verbs.help <noun> <verb>: summary, USAGE (required flags inline,[flags]for the optional ones), FLAGS with descriptions and defaults, EXAMPLES, SEE ALSO for commands below it.gitbayas the program at a terminal,ssh git@<host>when piped.help --jsonaddsflagsandexamples.- The CLI's summaries are generated from the registry (
cmd/gitbay/summaries_gen.go,TestSummariesAreCurrent -update);pass()no longer carries its own text.gitbay --helpgroups the commands under WORK, REPOSITORIES, YOU and INSTANCE. Noun--helpat a terminal goes through the terminal layout.
retargeted from cli-output-views to main: !469 merged
2026-09-24 15:08 UTC