pub fn confirm_with_io<T: InputOutput>(
prompt: &str,
io: &T,
) -> Result<bool, Error>Expand description
Testable version of confirm that accepts an InputOutput trait
ยงErrors
Returns an error if input operations fail or maximum retries exceeded