-
Hi 😃 ! Thanks for making/maintaining this library. I've been looking for this in the doc, but sadly I couldn't find it or missed it somewhere (most likely). I wonder if we could invoke the program without arguments and let it show us the help message by default, the same if you pass This is what I have in mind: // top-level options parser
construct!([tui_cmd, install_cmd])
.to_options()
.show_help_on_empty()
.version("v0.1.0")
.run() Output example:
Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Thank you for the kind words :)
Not in the current version, but it might change in the future given enough demand. For now you can do something like this to achieve the same results: |
Beta Was this translation helpful? Give feedback.
-
Since 0.9.1 you can use |
Beta Was this translation helpful? Give feedback.
Thank you for the kind words :)
Not in the current version, but it might change in the future given enough demand. For now you can do something like this to achieve the same results:
#186