Add an option to delete only empty albums

This commit is contained in:
Marc Plano-Lesay 2024-12-03 19:09:07 +11:00
parent 0ac02c34c6
commit 776c9b005f
Signed by: kernald
GPG key ID: 66A41B08CC62A6CF
3 changed files with 10 additions and 4 deletions

View file

@ -87,7 +87,11 @@ pub(crate) enum AlbumsCommands {
},
/// Delete all albums
#[serde(rename = "delete")]
Delete {},
Delete {
/// Delete only empty albums
#[arg(short, long, action)]
empty: bool,
},
/// List all albums
#[serde(rename = "list")]
List {},