You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
356 B
Rust
19 lines
356 B
Rust
extern crate clap;
|
|
|
|
use clap::Parser;
|
|
|
|
#[derive(Parser)]
|
|
pub struct GeneratorOptions {
|
|
#[arg()]
|
|
pub archive_file: String,
|
|
|
|
#[arg(short, long, default_value = "ActivityPub Export")]
|
|
pub title: String,
|
|
|
|
#[arg(short = 'o', long, default_value = "out")]
|
|
pub output_dir: String,
|
|
|
|
#[arg(short = 'O', long)]
|
|
pub overwrite: bool,
|
|
}
|