confirm_stdout

Function confirm_stdout 

Source
pub fn confirm_stdout(prompt: &str) -> Result<bool>
Expand description

Ask the user for confirmation, prompting on stdout.

Use this for standard interactive prompts where capturing the prompt in piped output is acceptable.