Metadata-Version: 2.3
Name: cli_select
Version: 0.0.4
Summary: A package that enables MCQ select in terminal
Project-URL: Homepage, https://github.com/zlliu246/cli_select
Project-URL: Issues, https://github.com/zlliu246/cli_select/issues
Author-email: Liu Zuo Lin <zlliu246@gmail.com>
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Requires-Dist: colorama
Requires-Dist: onkeypress
Requires-Dist: unprint
Description-Content-Type: text/markdown


# cli_select

A package that allows MCQ select in terminal/CLI

# Installation

```
pip install cli_select
```

# Quickstart

use Up and Down arrow keys to select your option
use Enter key to confirm your selection


```python
from cli_select import select

selected = select(
    "Which is your favourite fruit?", 
    ["apple", "orange", "pear", "pineaple", "durian"],
    color="green",
)

print(f"you selected {selected}")

# Select favourite fruit (Up/Down to navigate, Enter to select):

# => apple
# orange
# pear
# pineaple
# durian
```

