Function confirmation_or_break
Source pub fn confirmation_or_break(prompt: &str) -> Result<()>
Expand description
Prompts the user to confirm their choices or break
§Arguments
prompt - The prompt to display to the user
§Errors
Returns an error if the wants to break or if the prompt fails
§Returns
Returns Ok(()) if the user confirms their choices