Add a menu-driven entry to the polls CLI
CI / Deploy / PHP 8.5 (push) Successful in 1m14s
CI / Deploy / PHP 8.4 (push) Successful in 1m15s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped

`bin/cake polls` without a sub command offers list, search, open a poll
(details, admin link, delete), remind and cleanup. It only wraps the existing
commands, previews before destructive actions and asks first; every prompt
has a safe default so closed stdin ends it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-16 13:31:33 +01:00
1 parent f0b5f7b2bb
commit 6e8fef022b
6 files changed
+222 -3

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ E-Mail anlegen, kein Login, Verwaltung über einen geheimen Admin-Link, Teilnahm
| Coding Standard | `vendor/bin/phpcs` / Autofix `vendor/bin/phpcbf` |
| Neue Migration | `bin/cake bake migration NameDerMigration` |
| Verwaiste Folienbilder löschen | `bin/cake images_cleanup [--dry-run]` |
| Umfragen verwalten (Admin-CLI) | `bin/cake polls list\|show\|delete\|remind\|cleanup` (siehe [docs/operations.md](docs/operations.md)) |
| Umfragen verwalten (Admin-CLI) | `bin/cake polls` (Menü) bzw. `polls list\|show\|delete\|remind\|cleanup` (siehe [docs/operations.md](docs/operations.md)) |
**Vor jedem Commit:** `vendor/bin/phpunit` und `vendor/bin/phpcs` müssen grün sein
(Warnungen zur Zeilenlänge bei langen deutschen Texten sind ok).