Add a album auto-create command

This commit is contained in:
Marc Plano-Lesay 2024-12-03 16:32:05 +11:00
parent 998bfce68f
commit 0ac02c34c6
Signed by: kernald
GPG key ID: 66A41B08CC62A6CF
14 changed files with 323 additions and 2 deletions

View file

@ -24,6 +24,7 @@ pub async fn list_assets(ctx: Context, offline: bool) -> Result<()> {
let query = AssetQuery {
is_offline: if offline { Some(true) } else { None },
with_exif: true,
..Default::default()
};
let mut assets: Vec<_> = fetch_all_assets(query, &ctx.client)