summaryrefslogtreecommitdiff
path: root/internal/askcli/command_watch_test.go
AgeCommit message (Collapse)Author
11 daysask: fix watch output to match regular commands by preserving terminal width ↵Paul Buetow
detection
2026-05-26feat(askcli): add watch subcommandPaul Buetow
Implements `ask watch [subcommand...]` which re-runs a read-only subcommand every 2 seconds and redraws output when it changes, similar to gnu-watch. Safety features: - Restricted to read-only subcommands (list, all, ready, info, urgency, help, dep list) - Recursive watch is blocked - Captures stderr so error messages are visible in the watched display Also adds readOnly field to commandEntry registry for maintainability.