mix client_utils.sarif (client_utils v0.6.6)
View SourceRuns a command and writes its outcome as a SARIF 2.1.0 file, for a recipe to use when the tool it calls does not write SARIF itself.
mix client_utils.sarif <output file> -- <command> [args...]The tool is named after the output file (its basename without .sarif). No
results when the command exits 0. When a mix test run fails, one error
result per failing test, with its name, failure text and file and line.
Otherwise (another command, or a test run that died before any test failed)
one error result with the last 4000 characters of its output. Exits with the
command's status, and records the call in meta.json beside the output file.