Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.81 KB

File metadata and controls

42 lines (29 loc) · 1.81 KB

Task Tracker

Solution for the task-tracker challenge from roadmap.sh.

Setting Up

Clone the repo:

git clone https://github.com/dantecalderon/task-tracker.git
cd task-tracker

Install dependencies:

npm ci

Usage

You need to run the main.ts script like this:

./main.ts <command> [commandargs]

Commands

Command Description Example
./main.ts add <description> Add a new task ./main.ts add "Buy groceries"
./main.ts update <task_id> <desc> Update an existing task ./main.ts update 1 "Buy groceries and cook dinner"
./main.ts delete <task_id> Delete a task ./main.ts delete 1
./main.ts mark-in-progress <task_id> Mark a task as in progress ./main.ts mark-in-progress 1
./main.ts mark-done <task_id> Mark a task as done ./main.ts mark-done 1
./main.ts list List all tasks ./main.ts list
./main.ts list <status> List tasks by status (done, todo, in-progress) ./main.ts list done

Author

Dante Calderon (@dantehemerson)