entrenar/config/cli/research/verify.rs
1//! Verify command arguments
2
3use clap::Parser;
4use std::path::PathBuf;
5
6/// Arguments for verify command
7#[derive(Parser, Debug, Clone, PartialEq)]
8pub struct VerifyArgs {
9 /// Path to pre-registration or signed artifact
10 #[arg(value_name = "FILE")]
11 pub file: PathBuf,
12
13 /// Path to Ed25519 public key for signature verification
14 #[arg(long)]
15 pub public_key: Option<PathBuf>,
16
17 /// Original content to verify against commitment
18 #[arg(long)]
19 pub original: Option<PathBuf>,
20
21 /// Verify git timestamp proof
22 #[arg(long)]
23 pub verify_git: bool,
24}