provenance-cli 0.2.1

Command-line interface for Provenance requirements traceability
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::output::OutputFormat;
use camino::Utf8PathBuf;
use clap::Subcommand;

#[derive(Subcommand)]
pub enum DictionaryCommand {
    /// Import the ASD-STE100 Issue 9 dictionary from one local PDF file.
    Import {
        /// Path to the local official Issue 9 PDF file.
        #[arg(long)]
        pdf: Utf8PathBuf,
        #[arg(long, default_value = ".")]
        repo: Utf8PathBuf,
        #[arg(long, value_enum, default_value_t = OutputFormat::Json)]
        format: OutputFormat,
    },
}