Skip to content

Do command aliases not appear in the help by design? #470

Answered by ajalt
lppedd asked this question in Q&A
Discussion options

You must be logged in to vote

You're right that aliases aren't part of the data passed to the help formatter, so there isn't currently any way to include them in the help automatically. I'm even convinced that adding them automatically is a good idea, since they can be defined dynamically e.g. the way git aliases work.

I would suggest manually adding the info you want to your command's help or its epilog.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lppedd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants