From 2e6f2a2d21a0ba9a5c8f13bf27e64615144cf222 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 17 Dec 2023 14:49:19 +0100 Subject: tool: skip existing option --- tool/src/main.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tool/src/main.rs') diff --git a/tool/src/main.rs b/tool/src/main.rs index 47c9a53..3744560 100644 --- a/tool/src/main.rs +++ b/tool/src/main.rs @@ -59,18 +59,21 @@ enum Action { /// Marks node as a video #[arg(long)] video: bool, - /// Path to the media of the node, required for non-series - #[arg(short, long)] - input: Option, /// Marks node as a series #[arg(short, long)] series: bool, + /// Path to the media of the node, required for non-series + #[arg(short, long)] + input: Option, /// Ignore attachments (dont use them as cover) #[arg(long)] ignore_attachments: bool, /// Ignore metadate (no title, description and tagline from input) #[arg(long)] ignore_metadata: bool, + /// Skip any action that appears to be run already. + #[arg(long)] + skip_existing: bool, }, Migrate { database: PathBuf, -- cgit v1.2.3-70-g09d2