This commit was merged in pull request #105.
This commit is contained in:
@@ -20,7 +20,7 @@ is a patterned change, not a design problem.
|
||||
|
||||
## Acceptance criteria
|
||||
|
||||
- `python cli.py delete <index>` removes the task at that 0-based index and saves the list.
|
||||
- `python3 cli.py delete <index>` removes the task at that 0-based index and saves the list.
|
||||
- After deleting, the remaining tasks keep their relative order.
|
||||
- `delete` with an out-of-range or non-integer index prints a clear error (e.g.
|
||||
`no task at index 99`) and exits non-zero, instead of dumping a traceback.
|
||||
|
||||
Reference in New Issue
Block a user