Skip to main content

run_quality

Function run_quality 

Source
pub fn run_quality(
    sbom_path: PathBuf,
    profile_name: String,
    output: ReportFormat,
    output_file: Option<PathBuf>,
    show_recommendations: bool,
    show_metrics: bool,
    min_score: Option<f32>,
    no_color: bool,
) -> Result<i32>
Expand description

Run the quality command, returning the desired exit code.

The caller is responsible for calling std::process::exit() with the returned code when it is non-zero.