macro_rules! warning {
($msg:expr) => { ... };
($msg:expr, $symbol:expr) => { ... };
}Expand description
Print a warning message with optional custom symbol
§Examples
use supercli::warning;
warning!("This action cannot be undone"); // Uses default ⚠
warning!("Critical warning!", "🚨"); // Uses custom symbol