input_hidden

Macro input_hidden 

Source
macro_rules! input_hidden {
    ($($arg:tt)*) => { ... };
}
Expand description

Prompt the user for some input, and hide the characters being typed out.

§Examples

use cli_input::prelude::*;

let password: String = input_hidden!("What is your password?: ");