mirror of
https://codeberg.org/postscriptum/snac2nex.git
synced 2026-04-01 05:35:27 +00:00
implement optional binary files copy
This commit is contained in:
parent
cf8c676732
commit
ef1ba39589
5 changed files with 101 additions and 43 deletions
|
|
@ -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>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue