**Maybe** replace "[Y/n]" with pick
alichtman opened this issue · 1 comments
alichtman commented
alichtman commented
This would look dope. Definitely doing this.
EDIT: Blows up a prompt over the whole screen so you can't see anything besides the question. I really wasn't a fan. Maybe it ends up being the way to go, not sure.
Options:
- https://github.com/magmax/python-inquirer#list.
- Asking the user for command line input -- Click
- http://pocoo-click.readthedocs.io/en/latest/options/
- https://github.com/pallets/click/blob/master/examples/colors/colors.py
- https://stackoverflow.com/questions/41268949/python-click-option-with-a-prompt-and-default-hidden
- https://github.com/pallets/click/blob/master/examples/naval/naval.py
- http://click.pocoo.org/5/options/#prompting
Click seems like the obvious next choice in terms of capability but seemingly no list support.
It does have:
- Support for colors.
- Parses user input well
- Built in confirmation prompts
Trying python inquirer next.