Skip to content

Commit

Permalink
chore: add some description
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Mar 12, 2024
1 parent c98bb96 commit 2eff762
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion importer/src/csaf/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
1 change: 1 addition & 0 deletions importer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ mod csaf;
mod progress;
mod sbom;

/// Importer
#[derive(Subcommand, Debug)]
pub enum ImporterCommand {
Csaf(csaf::ImportCsafCommand),
Expand Down
1 change: 1 addition & 0 deletions importer/src/sbom/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ use walker_common::{fetcher::Fetcher, validate::ValidationOptions};

mod process;

/// Import SBOMs
#[derive(clap::Args, Debug)]
pub struct ImportSbomCommand {
#[command(flatten)]
Expand Down

0 comments on commit 2eff762

Please sign in to comment.