Task tracker is a project used to track and manage your tasks. It's a simple command line interface (CLI) to track what you need to do, what you have done, and what you are currently working on. Tasks are stored in JSON file.
View project in roadmap.sh.
- Clone this repository
- Navigate to the project directory
- Execute main.py. Make sure you have Python installed.
- id: A unique identifier for the task.
- description: A short description of the task.
- status: The status of the task(todo,in-progress,done).
- createdAt: The date and time when the task was created.
- updatedAt: The date and time when the task was last updated.
- Add, Update, and Delete tasks.
- Mark a task as in progress or done.
- List all tasks.
- List all tasks that are donde.
- List all tasks that are not done.
- List all tasks that are in progress.
Add a new task to the list tasks.
-m : Description of the task.
-s : Status of the task: todo, in-progress or done.
Example:
add -m Hi, this is a new task -s in-pgogress
Note
When the status is not provided or is an incorrect value, todo is assigned
Update a task.
id : The id of the task to update.
-m : Description of the task.
-s : Status of the task: todo, in-progress or done. Is not required.
Example:
update 1 -m Hello, this is an updated task
id: The id of the task to delete.
Example: delete 1
Mark a task as in-progress
id: The id of the task to mark as in-progress
Example:
progress 1
Mark a task as done
id: The id of the task to mark as done
Example:
done
Show the list of tasks
Example:
list
Show the list of tasks with status: todo
Example:
list-todo
Show the list of tasks with status: in-progress.
Example:
list-in-progress
Show the list of tasks with status: done.
Example:
list-done
Close the console.