pub fn base_command(command: &str) -> String
Extract the first real command word, skipping leading VAR=value assignments.