cli_select_item() allows to quickly launch a menu from code, but if only a single item is given a selection is not necessary in most cases. Therefore we now instantly return the given value in these cases. This can be turned off by setting return_single=False |
||
|---|---|---|
| clintermission | ||
| examples | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| requirements.txt | ||
| setup.cfg | ||
| setup.py | ||
README.md
CLI-Intermission
Tool to easily ask your user questions on the commandline. Interactive!
...by abusing python prompt-toolkit's Buffer class.
Highly inspired by go promptui