Skip to main content

run

Function run 

Source
pub fn run(format: SbomFormat, output: Option<&str>) -> Result<()>
Expand description

Run the SBOM command

ยงErrors

Returns an error if Cargo.lock cannot be found or parsed, if SBOM serialization fails, or if the output file cannot be written.