cobra
cobra copied to clipboard
Add aliases to doc markdown
Adds aliases to generated markdown docs, similar to how it's handled in the default help template:
Aliases:
{{.NameAndAliases}}{{end}}{{if .HasExample}}
So this would change the existing behavior? I wonder if this is a backwards compatibility issue?
So this would change the existing behavior? I wonder if this is a backwards compatibility issue?
It changes generated doc format by adding the list of aliases. I guess you could call it "changes to existing behavior".
I think this would be safe to add but I’m not sure. @jpmcb do you think this could break existing programs?