You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add command aliases to README.md output by wp scaffold package-readme #264
The README.md output by wp scaffold package-readme does not include @alias directive information (alternative names for a given command as described here). I think it would be good to include it either by default (my preference) or via a flag such as below:
@swissspidy Thanks! Out of curiosity, are multiple command aliases allowed? It appears only the first mention of @alias in the command definition is honored.
Activity
swissspidy commentedon Jan 9, 2026
Makes sense to me!
We just recently enabled this for the handbook already via wp-cli/wp-cli#6147 and wp-cli/handbook#605 so this should be trivial to do.
We can include this by default, with a simple line like:
baizmandesign commentedon Jan 9, 2026
@swissspidy Thanks! Out of curiosity, are multiple command aliases allowed? It appears only the first mention of
@aliasin the command definition is honored.swissspidy commentedon Jan 9, 2026
Only a single alias is supported at the moment.
baizmandesign commentedon Jan 9, 2026
Thanks @swissspidy!
wp scaffold package-readmeideas#211 as a duplicate of this issue