Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate(
    file: &str,
    outputs: &[String],
    inputs: &[String],
    templates: &[String],
    over: &Overrides,
) -> (i32, Option<String>, Vec<(String, Diag)>, Vec<String>)
Expand description

decl evaluate: (exit code, the text for stdout, the diagnostics tagged with their file, the bare stderr lines that follow them); a usage error is exit 2 with its line already printed