pub fn confirm(prompt: &str) -> Result<bool, Error>
Ask for user confirmation with yes/no prompt
Returns an error if stdin operations fail or maximum retry attempts are exceeded