Open danieleades opened 4 years ago
Seems like a reasonable request.
I might get some time to take a look at this. What version of python are you targeting?
Nothing in particular, since it's so simple, but I'd like to keep as many 3.X versions compatible as possible.
PR created for one possible solution. This blocks the user until they choose a vaid option so it may not be what you wanted. https://github.com/TMiguelT/ArgparsePrompt/pull/7
in addition to showing a user the default value (if it exists) the user should also be shown the available 'choices' when prompted for a missing arg