A simple command-line task tracker built with Python for managing your to-do list. This project is part of the roadmap.sh backend projects.
- Add, update, and delete tasks
- Track task status (todo, in-progress, done)
- List all tasks or filter by status
- Persistent JSON storage
- Automatic timestamp tracking
Clone the repository:
git clone <repository-url>
cd pytask-trackerMake the CLI executable:
chmod +x task-cli# Add a new task
./task-cli add "Buy groceries"
# Update a task
./task-cli update 1 "Buy groceries and cook dinner"
# Delete a task
./task-cli delete 1
# Mark task as in-progress
./task-cli mark-in-progress 1
# Mark task as done
./task-cli mark-done 1
# List all tasks
./task-cli list
# List tasks by status
./task-cli list todo
./task-cli list in-progress
./task-cli list donepytask-tracker/
├── task.py # Task model
├── storage.py # JSON storage handler
├── task_manager.py # Business logic
├── task_cli.py # CLI interface
└── tasks.json # Data storage (auto-generated)
- Python 3.x
See LICENSE file for details.