use std::io::{self, Write};
/// Prompt the user and read a password from stdin.
pub fn must_get_password(prompt: &str) -> String {
print!("{prompt}");
io::stdout().flush().unwrap();
let mut password = String::new();
io::stdin().read_line(&mut password).unwrap();
password.trim().to_owned()
}