Function gooseberry::utils::user_input

source ·
pub fn user_input(
    message: &str,
    default: Option<&str>,
    show_default: bool,
    allow_empty: bool
) -> Result<String>
Expand description

Takes user input from terminal, optionally has a default and optionally displays it.