diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-05-11 11:30:50 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-05-11 11:30:50 +0200 |
| commit | 8af00445f3bcfbaedb14792b4e2304a2b2470cce (patch) | |
| tree | 7b73cbf549cb7d2d1b2e6fb2ffaa2224c119d84c /README.md | |
| parent | d4deaf0b8e88123b15ae7358c7bc049c143084fa (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.md | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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 |
