This commit was merged in pull request #105.
This commit is contained in:
@@ -8,8 +8,8 @@ Add a `wipe` command to this task app that removes **all** tasks.
|
||||
|
||||
- Put the deletion logic on `TaskList` in `tasks.py` (a `wipe()` method that empties the list),
|
||||
and wire a `wipe` command into the dispatch in `cli.py` that calls it and saves.
|
||||
- Running `python cli.py wipe` should empty the list and print a short confirmation like
|
||||
- Running `python3 cli.py wipe` should empty the list and print a short confirmation like
|
||||
`wiped all tasks`.
|
||||
- After `wipe`, `python cli.py list` should print `(no tasks yet)`.
|
||||
- After `wipe`, `python3 cli.py list` should print `(no tasks yet)`.
|
||||
|
||||
Make the change, then stop. I'll review the diff, then have you commit it on this branch.
|
||||
|
||||
Reference in New Issue
Block a user