A simple Command Line Interface (CLI) tool to manage your tasks and keep track of your todo-list
Adda new task by adding a new task description- Get the
listof all tasks - Get the list by filtering by status
list todo,list in-progress,list done - Change a task status by
mark-todo,mark-in-progress,mark-done Updatea task by providing the existingidand new taskdescriptionDeletea task by providing the existingid
git clone git@github.com:zeinaaabbb/task-cli.git
cd task-clinode.js version 18+
node index <command> [options]
# e.g. command available : list, add, update, delete
node index --help
# To get full list of available commands
node index add "Buy new party shoes"
# Output:
# {
# id: 11,
# description: "Buy new party shoes",
# status: "todo",
# createdAt: "2025-11-19T13:56:02.122Z",
# updatedAt: "2025-11-19T13:56:02.129Z"
# }node index update 1 "Read 6 pages from book"
node index delete 1node index mark-in-progress 1
node index mark-done 1node index list
node index list done
node index list todo
node index list in-progressTask data is stored in the tasks.json file and with the following properties:
id: A unique identifier for the taskdescription: A short description of the taskstatus: The status of the task (todo,in-progress,done)createdAt: The date and time when the task was createdupdatedAt: The date and time when the task was last updated
[
{
"id": 1,
"description": "order cake",
"status": "done",
"createdAt": "2025-11-28T10:00:00Z",
"updatedAt": "2025-11-19T10:21:33.854Z"
}
]