Files
ai-workflow-course/modules/11-collaboration-humans-and-agents/lab/pr-body.md
T
claude c098933f25
Sync course wiki / sync-wiki (push) Successful in 4s
De-slop: remove every em-dash + banned words across all modules + capstone (#94)
Co-authored-by: claude <claude@jpaul.io>
Co-committed-by: claude <claude@jpaul.io>
2026-06-22 23:21:22 -04:00

1.1 KiB

What this does

Adds a clear-done command that removes all completed tasks. The removal logic is a new TaskList method in tasks.py; cli.py just wires up the command and reports how many tasks were removed.

How I tested it

  • Added a mix of pending and done tasks, ran clear-done, confirmed only the done ones were removed and the count printed.
  • Ran clear-done with nothing marked done: removed 0, no crash.

Review notes

Small two-file change. Check that the logic sits in tasks.py (not the CLI) and that the empty / nothing-done case is handled.

Closes #42