Crate read_stdin

Source

Functionsยง

once
Read user input from stdin and try to parse it into a generic type.
prompt
Creates a CLI prompt and asks the user for input.
prompt_until_ok
Creates a CLI prompt and repeatetly asks the user for input until their input is of valid type.
read_stdinDeprecated
read_stdin_until_okDeprecated
until_ok
Read user input from stdin and try to parse it into a generic type. I will keep prompting the user for input until they enter data that properly parses.