-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I commonly create my add arguments like this:
parser.add_argument( "-n", "--host", dest="host", type=str, help="host machine (default: %(default)s)", default="localhost", required=True, )
which will show on the CLI like this:
Options: -h, --help show this help message and exit -n, --host HOST host machine (default: localhost)
With argparse-interface it does not parse the %(default)s and shows that text. It would be great if it did parse it properly so that I can keep that default description in for the CLI, and have it look consistent with the TUI
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request