mirror of
https://codeberg.org/postscriptum/snac2nex.git
synced 2026-04-01 13:45:28 +00:00
add attachment symlinks option, rename binary option to attachment with export type value
This commit is contained in:
parent
9f24a133ed
commit
20c0aea8f3
6 changed files with 101 additions and 18 deletions
|
|
@ -15,9 +15,15 @@ pub struct Config {
|
|||
#[arg(short, long)]
|
||||
pub user: Vec<String>,
|
||||
|
||||
/// Export binary files (attachments)
|
||||
#[arg(short, long, default_value_t = false)]
|
||||
pub binary: bool,
|
||||
/// Include attachment files export
|
||||
///
|
||||
/// Supported values:
|
||||
///
|
||||
/// * `c` (`copy`) - copy attachment files
|
||||
/// * `h` (`hard`) - create hard links
|
||||
/// * `s` (`soft`) - create soft links (macos, linux, windows only)
|
||||
#[arg(short, long)]
|
||||
pub attachment: Option<String>,
|
||||
|
||||
/// Keep running as the daemon, renew every `n` seconds
|
||||
#[arg(short, long)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue