A simple command-line interface (CLI) task tracker built in Python. This application allows you to manage tasks through various commands such as adding, updating, deleting, and listing tasks with different statuses.
- Add a task: Add a new task with a description.
- Update a task: Update the description or status of an existing task.
- Delete a task: Delete a task by its ID.
- List tasks: View all tasks or filter tasks by their status (todo, in-progress, done).
- Mark tasks with a status: Set the status of tasks to
todo,in-progress, ordone.
- Python 3.x (The code has been tested with Python 3.10)
- Clone the repository or download the source code.
- Navigate to the project folder.
cd Task_ProjectTo add a new task with a description:
python task_tracker.py add --description "Your Task Description Here"To list all tasks:
python task_tracker.py listTo list tasks filtered by status (e.g., todo, in-progress, or done):
python task_tracker.py list --status todoTo update the description or status of an existing task:
python task_tracker.py update <task_id> --description "Updated Description"
python task_tracker.py update <task_id> --status doneTo delete a task by its ID:
python task_tracker.py delete <task_id>- task_tracker.py: Main Python script that implements the task tracker functionality.
- tasks.json: JSON file that stores task data. If the file doesn't exist, it will be created automatically.
- README.md: Documentation for using the Task Tracker CLI Application.
- If
tasks.jsondoes not exist, it will be created automatically when adding a task. - Task IDs are unique and are automatically assigned when a task is added.
- The task's status can be set to
todo,in-progress, ordone.
This project is open-source and available under the MIT License.