pub fn collected(command: &mut Command) -> Result<(Output, Vec<Diagnostic>)>
Runs command (a yog one) with its diagnostics written to a file of its own: how it went, and what it reported.
command
yog