Build out all 27 modules + capstone (#1)
Co-authored-by: claude <claude@jpaul.io> Co-committed-by: claude <claude@jpaul.io>
This commit was merged in pull request #1.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
Title: `done` command crashes on an empty list
|
||||
|
||||
When I run `python cli.py done 0` right after a fresh checkout — before adding any tasks — it throws
|
||||
an IndexError and dumps a stack trace instead of a friendly message. Every other command handles the
|
||||
empty-list case fine, so this one feels like an oversight.
|
||||
|
||||
Steps to reproduce:
|
||||
1. Delete tasks.json (or clone fresh).
|
||||
2. Run `python cli.py done 0`.
|
||||
3. See the traceback.
|
||||
|
||||
Expected: a clear message like "no task at index 0", exit non-zero, no traceback.
|
||||
|
||||
Environment: Python 3.12, macOS.
|
||||
Reference in New Issue
Block a user