//! Yes/no confirmation prompt for destructive operations.
//!
//! Used by [`commands::task_remove`] and [`commands::task_clear`] before
//! irreversible actions.
//!
//! [`commands::task_remove`]: crate::commands::task_remove
//! [`commands::task_clear`]: crate::commands::task_clear
use Result;
use Colorize;
use ;
/// Prompts the user for confirmation.
///
/// # Arguments
///
/// * `message` - The confirmation message to display
///
/// # Returns
///
/// `true` if the user confirms (y/Y/yes), `false` otherwise