Function confirm

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

Asks the user to confirm an action, with an optional --yes override.