You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to improve the output of mycli help my-command, largely into providing more context about what the parameters mean and what is possible. In short, it's really about adding more text in specific areas, not the layout of the output itself. One example of that is the header field of @Command where I envision quite a bit of text to explain what the command actually does.
I can see the various annotations let me do that but I'd prefer adding this in code rather as large piece of text within the annotation itself. For version I can implement IVersionProvider and get a callback. I was wondering if picocli has a model of the help output that would let me hook into it and add additional data?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I am trying to improve the output of
mycli help my-command
, largely into providing more context about what the parameters mean and what is possible. In short, it's really about adding more text in specific areas, not the layout of the output itself. One example of that is theheader
field of@Command
where I envision quite a bit of text to explain what the command actually does.I can see the various annotations let me do that but I'd prefer adding this in code rather as large piece of text within the annotation itself. For version I can implement
IVersionProvider
and get a callback. I was wondering if picocli has a model of the help output that would let me hook into it and add additional data?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions