brentyi / tyro

CLI interfaces & config objects, from types
https://brentyi.github.io/tyro
MIT License
467 stars 23 forks source link

Feature Request: Support for prompting certain arguments #137

Open hashb opened 5 months ago

hashb commented 5 months ago

Thanks for this awesome library! I was wondering if it is possible to add support for prompting user for certain arguments like how click implements it, see https://click.palletsprojects.com/en/8.0.x/options/#prompting

or

https://typer.tiangolo.com/tutorial/options/prompt/

brentyi commented 4 months ago

Hi @hashb! Thanks for filing this issue.

An API like Typer's seems doable. I have some hesitations about feature creep/maintenance, but would be open to giving it a try. Things are busy and I don't have an ETA though, so if you have time for a PR I could also review. 🙂