It's not as pretty as bullet, but it's trying to fit in an annotation loop. It would be super cool to extend bullet to choose-many questions too.
Might be useful to handle deactivated choices (ie greyed out).
It looks like it handles multi choice (with the check feature), but can it do validation upon a check being selected or does it need to wait until the user has made their choice? Am thinking for catching invalid combinations.
One package just for a radio list is too much like the npm way of doing things.
edit: and in particular for click. i didn't realize gooey was for arg parse
termios is a built-in package, but not for Windows. https://docs.python.org/3/library/termios.html
It's (Beautiful Python List Prompts) Package, not Beautiful (Python List Prompts Package).
Just tell me what it does. I'll decide if it's beautiful.
Edit: React has an ecosystem for things like this. Cocoa/Obj-C has an ecosystem for things like this. Tiny single purpose UI elements. Python does not have this because there is no UI framework for doing console applications that doesn’t already provide this capability as part of a batteries included tool.
If you have a command line application in python you could implement this for fancier list selections.
I'm unclear on how you relate this to React components. Python libraries have been part of an existing ecosystem long before React. The python ecosystem.
for i, item in enumerate(list):
print(i, item, sep=" - ")
choice = input()
Where does React come into this? That’s for the web...