Command summary displays as topic summary when nested below topic without summary.
rbayliss opened this issue · comments
Describe the bug
Given a command in a subdirectory of the main commands
directory, when I add either a summary property, or a description property, that text then appears as the topic summary at the top level.
To Reproduce
Steps to reproduce the behavior:
- Setup
@oclif/core
add add@oclif/plugin-help
. - Create a command class on
bar.ts
in a subdirectoryfoo
and give it astatic summary
property. - Run your binary without specifying any particular command.
- Observe the the
foo
topic prints with the summary you added to thebar
command.
Expected behavior
The foo
topic has no summary.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- OS & version: OSX Sonoma
- Shell/terminal & version: zsh 5.9
You can set topic descriptions in the package.json. See https://oclif.io/docs/topics