knishio-cli 0.1.3

KnishIO validator orchestration CLI — Docker control, cell management, benchmarks, and health checks
//! Colored terminal output helpers.

use colored::Colorize;

pub fn success(msg: &str) {
    println!("{} {}", "".green().bold(), msg);
}

pub fn info(msg: &str) {
    println!("{} {}", "".blue().bold(), msg);
}

pub fn warn(msg: &str) {
    println!("{} {}", "".yellow().bold(), msg);
}

pub fn error(msg: &str) {
    eprintln!("{} {}", "".red().bold(), msg);
}

pub fn header(msg: &str) {
    println!("\n{}", msg.bold().underline());
}