From 4d3ec68b9cbac493ee76981527cb0e780fac9432 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 2 Feb 2025 16:02:42 +0100 Subject: trakt metadata source --- tool/src/cli.rs | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'tool/src/cli.rs') diff --git a/tool/src/cli.rs b/tool/src/cli.rs index 2e12c81..b51b135 100644 --- a/tool/src/cli.rs +++ b/tool/src/cli.rs @@ -1,3 +1,8 @@ +/* + This file is part of jellything (https://codeberg.org/metamuffin/jellything) + which is licensed under the GNU Affero General Public License (version 3); see /COPYING. + Copyright (C) 2025 metamuffin +*/ use clap::{arg, Parser, ValueEnum}; use std::path::PathBuf; @@ -7,17 +12,10 @@ pub type Args = Action; #[clap(version, about)] /// Tool for administering a Jellything instance pub enum Action { - /// Interactive wizard for adding new nodes + /// Interactive wizard for renaming files Add { - /// ID of the new node; inferred if not specified - #[arg(short, long)] - id: Option, /// Path to the media of this node. - #[arg(short, long)] - media: Option, - /// Path of the new node within the library - #[arg(short, long)] - library_path: Option, + media: PathBuf, }, /// Migrate the database by export or import to JSON Migrate { -- cgit v1.2.3-70-g09d2