fn password_or_prompt(password: Option<String>, prompt: &str) -> Result<String>
Returns password when given, otherwise prompts for it on the terminal.
password