pub fn validate_command( frontmatter: &Frontmatter, command: &[String], ) -> Result<(), Error>
Returns an error when the command is empty or not present in frontmatter.