Add an option to delete only empty albums
This commit is contained in:
parent
0ac02c34c6
commit
776c9b005f
3 changed files with 10 additions and 4 deletions
|
@ -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 {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue