Skip to main content

confirm

Function confirm 

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

Prompts the user for confirmation.

§Arguments

  • message - The confirmation message to display

§Returns

true if the user confirms (y/Y/yes), false otherwise