use console::style;
pub fn format_section(title: &str) -> String {
format!(
"\n{}\n{}",
style(title).bold().underlined(),
style("─".repeat(title.len())).dim()
)
}
pub fn format_key_value(key: &str, value: &str) -> String {
format!("{}: {}", style(key).bold(), value)
}
pub fn format_success(message: &str) -> String {
format!("{} {}", style("✓").green().bold(), message)
}
pub fn format_error(message: &str) -> String {
format!("{} {}", style("✗").red().bold(), message)
}
pub fn format_info(message: &str) -> String {
format!("{} {}", style("ℹ").blue().bold(), message)
}
pub fn format_warning(message: &str) -> String {
format!("{} {}", style("⚠").yellow().bold(), message)
}