Go to file
Sebastian Lohff be411066dc Allow disabled options to be created
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.
2023-03-20 16:14:39 +01:00
clintermission Allow disabled options to be created 2023-03-20 16:14:39 +01:00
examples Add support for cursorless menus 2020-09-06 21:08:06 +02:00
.gitignore Initial commit 2019-01-31 23:58:29 +01:00
LICENSE Initial commit 2019-01-31 23:58:29 +01:00
README.md Improve README.md a tiny bit 2020-08-16 15:13:22 +02:00
requirements.txt Initial commit 2019-01-31 23:58:29 +01:00
setup.cfg Release v0.2.0 2020-09-15 23:20:57 +02:00
setup.py Initial commit 2019-01-31 23:58:29 +01:00

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.