-
Notifications
You must be signed in to change notification settings - Fork 346
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
By default, ArgumentParser
currently uses a ArgumentHelp.valueName
derived from the option name. While this is a nice standard default, I think it often leads to overly verbose --help text, and customizing with ArgumentHelp
makes declaration a little verbose (super kudos for having it possible in v0.0.1 though!).
I think there is an argument to be made for having ArgumentParser
use a default value name for well-known and common types, for example, using N
for integral types.
One upside of this is that it helps communicate the expected type.
I can understand if this is perceived to be too much magic, though...
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed