Files
ai-workflow-course/modules/11-collaboration-humans-and-agents/lab/pr-body.md
T
claude 2684095e2f Build out all 27 modules + capstone (#1)
Co-authored-by: claude <claude@jpaul.io>
Co-committed-by: claude <claude@jpaul.io>
2026-06-22 12:19:01 -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