diff options
Diffstat (limited to 'tool/src/cli.rs')
-rw-r--r-- | tool/src/cli.rs | 16 |
1 files changed, 7 insertions, 9 deletions
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 <metamuffin.org> +*/ 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<String>, /// Path to the media of this node. - #[arg(short, long)] - media: Option<PathBuf>, - /// Path of the new node within the library - #[arg(short, long)] - library_path: Option<PathBuf>, + media: PathBuf, }, /// Migrate the database by export or import to JSON Migrate { |