initial commit

This commit is contained in:
yggverse 2026-03-19 04:56:49 +02:00
parent 7821fbb237
commit 8539bffeb9
7 changed files with 1280 additions and 0 deletions

19
src/config.rs Normal file
View file

@ -0,0 +1,19 @@
use clap::Parser;
use std::path::PathBuf;
#[derive(Parser, Debug)]
#[command(version, about, long_about = None)]
pub struct Config {
/// Path to database
#[arg(short, long)]
pub source: PathBuf,
/// Path to export markdown
#[arg(short, long)]
pub target: PathBuf,
/// Collect discussions with given tag slug only
/// * keep empty to export all
#[arg(short, long)]
pub filter_tag: Vec<String>,
}