pub fn run(format: SbomFormat, output: Option<&str>) -> Result<()>
Run the SBOM command
Returns an error if Cargo.lock cannot be found or parsed, if SBOM serialization fails, or if the output file cannot be written.
Cargo.lock