Skip to main content

validate_command

Function validate_command 

Source
pub fn validate_command(
    frontmatter: &Frontmatter,
    command: &[String],
) -> Result<(), Error>
Expand description

ยงErrors

Returns an error when the command is empty or not present in frontmatter.