cobra icon indicating copy to clipboard operation
cobra copied to clipboard

Print command aliases in docs, not as a section

Open commit111 opened this issue 7 months ago • 4 comments

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.

commit111 avatar Apr 25 '25 16:04 commit111

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 25 '25 16:04 CLAassistant

Is this a WIP PR?

Unless I'm wrong, nothing calls this new method. So what is expected here?

ccoVeille avatar Apr 25 '25 16:04 ccoVeille

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.

commit111 avatar Apr 25 '25 18:04 commit111

Ok, I am done with changing it.

commit111 avatar Apr 25 '25 19:04 commit111