Sebastian Lohff
b44a1f3543
add_option() now has a "disabled" parameter, which will add the given option as a simple indented text. This is very similar as calling add_text(). The advantage of having this as a parameter to add_option() is that disabled options can now be created from the shorthand function cli_select_item() by passing each option as a tuple or dict, which has disabled=True set. This is a breaking change, as the parameter order of add_option() changes. |
||
---|---|---|
clintermission | ||
examples | ||
.gitignore | ||
LICENSE | ||
README.md | ||
requirements.txt | ||
setup.cfg | ||
setup.py |
README.md
Clintermission - Python CLI Intermission Library
clintermission
is a small Python library designed to quickly get a selection
of a single or multiple items from a user. The menu shown is explicitly not a
fullscreen menu so the user can use information in their console history to
make a selection.
The menu is implemented by using prompt-toolkit
's Buffer
class.
Inspired by go promptui.