Skip to main content

confirm

Function confirm 

Source
pub fn confirm(question: &str, assume_yes: bool) -> Result<bool>
Expand description

Ask a yes/no question; y/yes (any case) confirms. With assume_yes the question is answered automatically (for --yes).