diff --git a/importer/src/csaf/mod.rs b/importer/src/csaf/mod.rs index 7aa241630..b3d523176 100644 --- a/importer/src/csaf/mod.rs +++ b/importer/src/csaf/mod.rs @@ -18,7 +18,7 @@ use trustify_common::config::Database; use url::Url; use walker_common::{fetcher::Fetcher, utils::hex::Hex, validate::ValidationOptions}; -/// Run the importer +/// Import from a CSAF source #[derive(clap::Args, Debug)] pub struct ImportCsafCommand { #[command(flatten)] diff --git a/importer/src/lib.rs b/importer/src/lib.rs index b2bef2006..396725da3 100644 --- a/importer/src/lib.rs +++ b/importer/src/lib.rs @@ -7,6 +7,7 @@ mod csaf; mod progress; mod sbom; +/// Importer #[derive(Subcommand, Debug)] pub enum ImporterCommand { Csaf(csaf::ImportCsafCommand), diff --git a/importer/src/sbom/mod.rs b/importer/src/sbom/mod.rs index 220bd27e2..64cfd7fa2 100644 --- a/importer/src/sbom/mod.rs +++ b/importer/src/sbom/mod.rs @@ -15,6 +15,7 @@ use walker_common::{fetcher::Fetcher, validate::ValidationOptions}; mod process; +/// Import SBOMs #[derive(clap::Args, Debug)] pub struct ImportSbomCommand { #[command(flatten)]