Print a success message to stdout. The message is formatted in green with a checkmark prefix. # Arguments `message` - The message to print # Example ```rust,ignore print_success("Repository initialized successfully!"); // Output: ✓ Repository initialized successfully! ```
(message: &str)
| 107 | /// // Output: ✓ Repository initialized successfully! |
| 108 | /// ``` |
| 109 | pub fn print_success(message: &str) { |
| 110 | crate::logging::printed(crate::logging::Printed::Success, message); |
| 111 | if live::capture(live::Kind::Success, message) { |
| 112 | return; |
| 113 | } |
| 114 | println!("{} {}", success("✓"), success(message)); |
| 115 | } |
| 116 | |
| 117 | /// Print an error message to stderr. |
| 118 | /// |
no test coverage detected