Replies: 2 comments 6 replies
-
Any progress on this? I don't see a way to display the help of a command when ran without options. Only the top level help can be shown. When running |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Zyles - It looks like this was added. https://jmcdo29.github.io/nest-commander/docs/features/commander/#adding-custom-help Scott |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm thinking about exporting an
@InjectCommander()
decorator for injecting thecommander
instance to allow devs to callthis.commander.help()
if necessary. And while working with Help stuff, I'm thinking about creating a few new decorators for adding help to the command as described hereProbably some decorators like
All of these options could be used, and would be added to commander appropriately.
Might even add in ways to change the help flag, but that'll be a stretch from the current implementation. Anyone got any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions