What would you like to be added:
I would like to have an option to output the report (json) into a file with an option in the commad line like
grype "dir:/xxx" -o json -f report.json
Why is this needed:
it's easier with this option to integrate grype in python code rather than running and getting the output with subprocess
Additional context: