kagami-cli 0.1.0

This simple tool checks whether there are any publicly disclosed vulnerabilities in a list of defined software.
Documentation
use crate::{LogLevel, OutputFormat};
use clap::Parser;

#[derive(Parser, Debug)]
#[command(name = "kagami")]
#[command(version)]
#[command(
    about = "This simple tool checks whether there are any publicly disclosed vulnerabilities in a list of defined software.",
    long_about= None
)]
pub struct KagamiCommands {
    /// Sets an output format, overriding the one in the config file [default: text]
    #[arg(short, long, value_enum)]
    pub output_format: Option<OutputFormat>,
    /// Sets a log level, overriding the one in the config file [default: warn]
    #[arg(short, long, value_enum)]
    pub log_level: Option<LogLevel>,
    /// Sets a path to the config file, relative to the current directory.
    #[arg(default_value = "kagami.yaml")]
    pub config_file_path: String,
}