Skip to content

Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA

TypeScript
393 B
Raw Blame

Ticket: ops wants to preview log pruning before it deletes anything.

You are in a small git repo with scripts/prune_logs.py (deletes *.log files older than --days) and tests/test_prune_logs.py (pytest). Add a --dry-run flag: when set, print each file that would be deleted and delete nothing. Cover it in the tests. Verify with: pytest -q

Leave your changes uncommitted in the working tree.