A small Python command-line app for creating and managing a to-do list.
- Add tasks
- Update tasks
- Delete tasks
- Mark tasks as
in-progressordone - List all tasks
- Filter tasks by status
Tasks are stored locally in:
task/task.json
The folder and JSON file are created automatically the first time you add a task.
- Python 3
- No external libraries required
Run commands from the project root:
python3 task_cli.py add "Buy groceries"python3 task_cli.py update 1 "Buy groceries and cook dinner"python3 task_cli.py delete 1python3 task_cli.py mark-in-progress 1python3 task_cli.py mark-done 1python3 task_cli.py listpython3 task_cli.py list todopython3 task_cli.py list in-progresspython3 task_cli.py list done
Each task is saved with these fields:
iddescriptionstatuscreatedAtupdatedAt
- The app uses only Python's built-in standard library.
- If the storage file is missing, it will be recreated automatically.