Skip to main content

password_or_prompt

Function password_or_prompt 

Source
fn password_or_prompt(password: Option<String>, prompt: &str) -> Result<String>
Expand description

Returns password when given, otherwise prompts for it on the terminal.