cobra
cobra copied to clipboard
Print command aliases in docs, not as a section
This PR changes GenMarkdownCustom() in doc/md_docs.go so it can print the list of Aliases of a command in the markdown of docs.
Related to #2223, but the difference is that this PR does not print it as a separate section.
Is this a WIP PR?
Unless I'm wrong, nothing calls this new method. So what is expected here?
Is this a WIP PR?
Unless I'm wrong, nothing calls this new method. So what is expected here?
Yes, I am still changing it. Sorry, I should've specified that earlier.
Ok, I am done with changing it.