confirm

Function confirm 

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

Ask a yes/no question, defaulting to no.