Function confirm

Source
pub fn confirm(prompt: &str, default_yes: bool) -> bool
Expand description

Prompt for a yes/no confirmation