Skip to main content

confirm

Function confirm 

Source
pub fn confirm(message: &str, term: &Term, default: bool) -> Result<bool>
Expand description

Prompt the user for confirmation in the given Term.

This is a slimmed-down version of dialoguer::Confirm, with the post-confirmation report enabled.