blob: 1fbef6c6f5fc77c9b45bfa324c01f1c6c7719c8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
use clap::Args;
#[derive(Args)]
pub struct ArchiveArgs {
/// The package name
pub package: Option<String>,
/// A version constraint
pub version: Option<String>,
/// Format of the resulting archive (tar, tar.gz, tar.bz2, zip)
#[arg(short, long)]
pub format: Option<String>,
/// Write the archive to this directory
#[arg(long)]
pub dir: Option<String>,
/// Write the archive with the given file name
#[arg(long)]
pub file: Option<String>,
/// Ignore filters when saving archive
#[arg(long)]
pub ignore_filters: bool,
}
pub fn execute(_args: &ArchiveArgs) {
todo!()
}
|