0x1234
1
Hey there,
I am wondering if there would be a crate which would allow me to do something like this: prompt-radio - npm
I found Ask — Rust library // Lib.rs though it's only for multiple choice question, I was wondering if something with radio buttons existed...
I think it would be a cool crate, if it doesn't exist yet.
harmic
2
Cursive seems to be able to do this (as well as almost any other kind of terminal based input tomfoolery you could think of).
Example here: https://github.com/gyscos/Cursive/blob/master/examples/radio.rs
There's quest (written partly by me) but it's very basic stuff.
One more to the list: dialoguer