-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically generate --help #2
Comments
Thanks for pointing that out. This is an 'ugly' problem I find. Right now the arguments and options are not associated with a custom name so mapping them back to a help text would result in An auto-generated help/usage text should be overridden by It is also a slippery slope, there is a ton of additional metadata you would want to squeeze in to make the usage/help text actually helpful:
I am ok with auto-generating a one line usage text. For anything more involved I actually like that the developer needs to write it out. I am open to proposed solutions though 😸 . I am abiding by my design rule until there is an elegant way to deal with this: |
Yeah, it indeed is somewhat of a slippery slope. I would surely ask for the first two bullet points you listed. Only because I rarely use man pages, though. ;) But on the other hand, for anything I would have to write the proper help text, I would probably migrate to a future macroed docopt. The competion is open! XD |
This module should automatically generate the help text based on the command line interface provided and not force you to repeat yourself. Kinda the opposite of: https://github.com/docopt/docopt.nim
The text was updated successfully, but these errors were encountered: