Repository navigation
Output on Union Type with Enum #146
Unanswered
sabinadams
asked this question in
Q&A
Replies: 2 comments 2 replies
|
@sabinadams Yep there's some info about this rendering here: https://github.com/jasonkuhrt/molt/tree/main/packages/@molt/command#union. I will add a setting to explicitly control the rendering. |
2 replies
|
@sabinadams I've shipped a feature now that allows you to force the expanded style even if there aren't descriptions for the parameters. While in general descriptions are probably a "you should do that" kind of thing (for the CLI author) there's now more flexibility around this behaviour as well. Doc details about this are here https://github.com/jasonkuhrt/molt/tree/main/packages/@molt/command#help-rendering. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have Command set up as follows:
In the outputted docs I was expecting the Type field of the
installargument to show an output similar to the one described here which describes the types in the union as well as the individual options in the enum:#107 (comment)
Probably not a bug per-se, but is the output I receive expected?
Screenshot
All reactions