-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add default values to help output #45
Comments
Right now we only know how to parse from a string into value, but not go from an arbitrary value back into a string. We could use Straw man idea: default() could simply have an optional String parameter for how to represent the default value. If unset we use |
Sounds good to me |
I implemented this fairly naively...and added a bogus flag to
The output looks like this:
I'm not a fan of all the semi-confusing default values (
Which makes the output look like this:
This is all ultimately backed by Let me know if this approach is makes sense or if there's some other ideas for formatting you had in mind. |
It'd be nice to have a column in the help output listing the default values
The text was updated successfully, but these errors were encountered: