Skip to main content

entrenar/config/cli/research/
export.rs

1//! Export command arguments
2
3use clap::Parser;
4use std::path::PathBuf;
5
6use super::super::types::ExportFormat;
7
8/// Arguments for export command
9#[derive(Parser, Debug, Clone, PartialEq)]
10pub struct ExportArgs {
11    /// Path to artifact or document
12    #[arg(value_name = "INPUT")]
13    pub input: PathBuf,
14
15    /// Export format
16    #[arg(short, long)]
17    pub format: ExportFormat,
18
19    /// Output file
20    #[arg(short, long)]
21    pub output: PathBuf,
22
23    /// Anonymize for double-blind review
24    #[arg(long)]
25    pub anonymize: bool,
26
27    /// Salt for anonymization (required with --anonymize)
28    #[arg(long)]
29    pub anon_salt: Option<String>,
30
31    /// Jupyter kernel (for notebook export)
32    #[arg(long, default_value = "python3")]
33    pub kernel: String,
34}