diff options
author | metamuffin <metamuffin@disroot.org> | 2025-02-02 16:02:42 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-02-02 16:02:42 +0100 |
commit | 4d3ec68b9cbac493ee76981527cb0e780fac9432 (patch) | |
tree | 3f0df02f4c1a119e70663e0e3b4a485d81bc92b3 /tool/src/cli.rs | |
parent | 64c962b50d4fbd4605087fc97eac1a032bb826ce (diff) | |
download | jellything-4d3ec68b9cbac493ee76981527cb0e780fac9432.tar jellything-4d3ec68b9cbac493ee76981527cb0e780fac9432.tar.bz2 jellything-4d3ec68b9cbac493ee76981527cb0e780fac9432.tar.zst |
trakt metadata source
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 { |