Skip to main content

confirm

Function confirm 

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

Ask for user confirmation with yes/no prompt

ยงErrors

Returns an error if stdin operations fail or maximum retry attempts are exceeded