provenance-cli 0.2.3

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

#[derive(Args)]
pub struct UpdateArgs {
    #[arg(long, default_value = ".")]
    pub repo: Utf8PathBuf,
    #[arg(long)]
    pub scope: String,
    #[arg(long)]
    pub id: String,
    /// Changed fields as JSON or @file. Use `clear_fields` to clear nullable fields.
    #[arg(long)]
    pub fields_json: String,
    #[arg(long, value_enum, default_value_t = OutputFormat::Table)]
    pub format: OutputFormat,
}