1 2 3 4 5 6 7 8 9 10 11
//! Logic for the `scan` subcommand. use crate::args::ScanArgs; use crate::orchestrator::ScanOrchestrator; use anyhow::Result; use std::process::ExitCode; pub async fn run(args: ScanArgs) -> Result<ExitCode> { let orchestrator = ScanOrchestrator::new(args)?; orchestrator.run().await }