Handle argparse %(default)s
placeholder (and others?)
#46
Labels
enhancement
New feature or request
external-request
You asked, we did
good-first-issue
Good for newcomers (good-first-issue)
argparse
has a nice feature where you can specify%(default)s
in the help string, and it will fill in the default value as specified by thedefault
keyword arg. However, shtab doesn't seem to be aware of this, so it appears literally when shell-completing. It would be nice if shtab could interpolate this value when generating the shell-completion functions.The text was updated successfully, but these errors were encountered: