mirror of
https://github.com/YGGverse/flarumdown.git
synced 2026-03-31 16:55:29 +00:00
make upload argument optional (delegate FoF/upload to external rsync logic)
This commit is contained in:
parent
42ff89d741
commit
00ab15d850
3 changed files with 41 additions and 30 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue