pub fn label(command: &str) -> String
Derive label from command string (first path component’s filename or word).