Add command to delete albums
This commit is contained in:
parent
fb78298166
commit
e29b962423
7 changed files with 152 additions and 1 deletions
|
@ -13,6 +13,7 @@ use args::{AlbumsCommands, AssetsCommands, LibrariesCommands, PeopleCommands, Se
|
|||
use clap::Parser;
|
||||
use color_eyre::eyre::{Result, WrapErr};
|
||||
use color_eyre::Section;
|
||||
use commands::delete_albums::delete_albums;
|
||||
use commands::delete_assets::delete_assets;
|
||||
use commands::list_albums::list_albums;
|
||||
use commands::list_assets::list_assets;
|
||||
|
@ -78,6 +79,7 @@ async fn main() -> Result<()> {
|
|||
|
||||
match &args.command {
|
||||
Commands::Albums { albums_command } => match albums_command {
|
||||
AlbumsCommands::Delete {} => delete_albums(ctx).await,
|
||||
AlbumsCommands::List {} => list_albums(ctx).await,
|
||||
},
|
||||
Commands::Assets { assets_command } => match assets_command {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue