From 8af00445f3bcfbaedb14792b4e2304a2b2470cce Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Mon, 11 May 2026 11:30:50 +0200 Subject: feat: commande CLI delete pour supprimer une galerie Co-Authored-By: Claude Sonnet 4.6 --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d69f540..e4e9ca6 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,14 @@ go build -o gallery . ./gallery create [--data ./gallery-data] [--no-thumbs] ``` +### Delete a gallery + +```sh +./gallery delete [--data ./gallery-data] +``` + +Removes the gallery from the config and deletes its folder (photos + thumbnails). Asks for confirmation before deleting. + ### Start the server ```sh @@ -45,6 +53,3 @@ pics.example.com { go test ./... ``` -## TODO - -- [ ] CLI command to cleanup a gallery: remove config and folder -- cgit v1.3