new oclif readme generator produces command output for aliases as well
This will pollute the README with duplicate command help.
Related https://github.com/oclif/oclif/issues/888
Readme command: https://github.com/oclif/oclif/blob/main/src/commands/readme.ts
Where the list of commands are set: https://github.com/oclif/core/blob/f759fb1710eb1013a48fa04e817d43231553590a/src/config/config.ts#L615-L621
The only approach I can think is to add a filter here: https://github.com/oclif/oclif/blob/fb5da961f925fa0eba5c5b05c8cee0c9bd156c00/src/commands/readme.ts#L57
- if
c.idexists inc.aliases, remove it from the list.
Just tested it, it works:
.filter(c => !c.aliases.includes(c.id))
PR https://github.com/oclif/oclif/pull/925
JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-1742
Fixed in https://github.com/oclif/oclif/releases/tag/v3.2.0 (dev dep for all our plugins and cli)