aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
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