make upload argument optional (delegate FoF/upload to external rsync logic)

This commit is contained in:
yggverse 2026-03-19 23:24:21 +02:00
parent 42ff89d741
commit 00ab15d850
3 changed files with 41 additions and 30 deletions

View file

@ -8,10 +8,12 @@ pub struct Config {
#[arg(short, long)]
pub source: PathBuf,
/// Path to export FoF/upload tags from
/// * tip: root should be the path to `flarum/public` dir
/// Path to export FoF/upload files from
/// tips:
/// * root should be the path to `flarum/public` dir
/// * use rsync instead of this option for longer SSD life
#[arg(short, long)]
pub upload: PathBuf,
pub upload: Option<PathBuf>,
/// Path to export markdown
#[arg(short, long)]