Skip to main content

run_command

Function run_command 

Source
pub fn run_command(
    command: &Command,
) -> Result<(bool, String), ParseBenchesError>
Expand description

Run one subcommand and say what it found.

The returned message is printed on success. Ok(false) means the command ran and the comparison was rejected; the verdict and Markdown are written either way, so a rejection is published with its evidence.

ยงErrors

Returns ParseBenchesError when an input cannot be read, parsed or judged.