Skip to main content

fleetreach_cli/
lib.rs

1//! `fleetreach-cli` library: config loading, fleet orchestration, report
2//! assembly + exit-code logic, and the command surface.
3//!
4//! The pipeline lives in the library (typed, testable). The command layer —
5//! argument parsing ([`cli`]), the `scan` runner ([`scan`]), the `vex`
6//! subcommands ([`vex`]), and DB/provenance plumbing ([`db`]) — also lives here,
7//! so `main.rs` is a thin shell that just parses and dispatches.
8
9pub mod assemble;
10pub mod cli;
11pub mod config;
12pub mod db;
13pub mod diff;
14pub mod enrich;
15pub mod npm_reach;
16pub mod orchestrate;
17pub mod reach;
18pub mod resolve;
19pub mod scan;
20pub mod static_reach;
21pub mod vex;
22
23pub use assemble::{
24    assemble, build_report, combine_baseline, drop_phantom, exit_code, retain_min_epss, retain_new,
25    retain_reachable, Assembled, GateConfig, SuppressedOccurrence, Suppression,
26};
27pub use config::{Config, ConfigError};
28pub use orchestrate::{scan_fleet, ScanData, Toolchain};