aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-05-11 11:30:50 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-05-11 11:30:50 +0200
commit8af00445f3bcfbaedb14792b4e2304a2b2470cce (patch)
tree7b73cbf549cb7d2d1b2e6fb2ffaa2224c119d84c /README.md
parentd4deaf0b8e88123b15ae7358c7bc049c143084fa (diff)
feat: commande CLI delete pour supprimer une galerie
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 8 insertions, 3 deletions
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 <name> <password> [--data ./gallery-data] [--no-thumbs]
```
+### Delete a gallery
+
+```sh
+./gallery delete <name> [--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