Skip to main content

entrenar/config/cli/research/
bundle.rs

1//! Bundle command arguments
2
3use clap::Parser;
4use std::path::PathBuf;
5
6/// Arguments for bundle command
7#[derive(Parser, Debug, Clone, PartialEq)]
8pub struct BundleArgs {
9    /// Path to artifact YAML
10    #[arg(value_name = "ARTIFACT")]
11    pub artifact: PathBuf,
12
13    /// Output directory for RO-Crate
14    #[arg(short, long)]
15    pub output: PathBuf,
16
17    /// Files to include (can be repeated)
18    #[arg(short, long)]
19    pub file: Vec<PathBuf>,
20
21    /// Create ZIP archive instead of directory
22    #[arg(long)]
23    pub zip: bool,
24
25    /// Include citation graph
26    #[arg(long)]
27    pub include_citations: bool,
28}