pub(crate) fn extract_command_name(s: &str) -> Option<String>
Extract <command-name>CMD</command-name> when present.
<command-name>CMD</command-name>