2684095e2f
Co-authored-by: claude <claude@jpaul.io> Co-committed-by: claude <claude@jpaul.io>
642 B
642 B
Agent A prompt — the clear command
Paste this into the AI session you've pointed at the tasks-app-clear worktree folder.
Add a clear command to this task app that removes all tasks.
- Put the deletion logic on
TaskListintasks.py(aclear()method that empties the list), and wire aclearcommand into the dispatch incli.pythat calls it and saves. - Running
python cli.py clearshould empty the list and print a short confirmation likecleared all tasks. - After
clear,python cli.py listshould print(no tasks yet).
Make the change, then stop — I'll review the diff and commit it myself.