format_heading

Function format_heading 

Source
pub fn format_heading(title: &str, suffix: Option<&str>) -> String
Expand description

Format a section heading (cyan uppercase text, no emoji)

Used for organizing output into distinct sections. Headings can have optional suffix info (e.g., path, location).

use worktrunk::styling::format_heading;

// Plain heading
let h = format_heading("BINARIES", None);
// => "BINARIES"

// Heading with suffix
let h = format_heading("USER CONFIG", Some("~/.config/wt.toml"));
// => "USER CONFIG  ~/.config/wt.toml"