No help is displayed for branched commands #12
|
Branched commands are not being displayed when the help option is used on the root level of an application. In the following example setup, only information about the RootCommand will be shown when the app is invoked like this: Example setupOutputWould it be possible to also include all the branched commands in the help text when the help option is invoked on the root level of an app? Desired output |
Answered by
patriksvensson
Nov 26, 2025
Replies: 1 comment 2 replies
|
You will only get help for the current branch that you're on. If you want help for This is by design. |
2 replies
Answer selected by
patriksvensson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You will only get help for the current branch that you're on.
If you want help for
branchin your example above, you will need to write./app.exe sub branch --help.This is by design.