implement optional binary files copy

This commit is contained in:
postscriptum 2025-07-01 20:13:44 +03:00
parent cf8c676732
commit ef1ba39589
5 changed files with 101 additions and 43 deletions

View file

@ -15,6 +15,10 @@ pub struct Config {
#[arg(short, long)]
pub user: Vec<String>,
/// Export binary files (attachments)
#[arg(short, long, default_value_t = false)]
pub binary: bool,
/// Keep running as the daemon, renew every `n` seconds
#[arg(short, long)]
pub rotate: Option<u64>,