pub fn write_module_json_to_file(
path: &Path,
report: &ModuleReport,
scan: &ScanArgs,
args_meta: &ModuleArgsMeta,
) -> Result<()>Expand description
Write a module report as JSON to a file path.
This is a convenience function for the run command that accepts
pre-constructed ScanArgs and ModuleArgsMeta rather than requiring
the full CLI args structs.