- NodeJS - Versión >20.15.0
- Clone the repository
git clone https://github.com/moises35/cli-task-tracker.git
- Install dependencies
npm install
- Build the project
npm run build
- Link the terminal command with the project
npm link
- Use the application::
task-tracker --help task-tracker add "Buy cookies" task-tracker add "Buy rgb lights" task-tracker add "Help clean the house" task-tracker mark-done 1 task-tracker mark-in-progress 3 task-tracker list
- Done🚀
- Add, Update, and Delete tasks
- Mark a task as in progress or done
- List all tasks
- List all tasks that are done
- List all tasks that are not done
- List all tasks that are in progress
Usage: task-cli [options] [command]
Options:
-V,--version: output the version number-h,--help: display help for command
Commands:
add <task>: Add a new taskupdate <id> <task>: Update a taskdelete <id>: Delete a taskmark-in-progress <id>: Mark a task as in progressmark-done <id>: Mark a task as donelist [status]: List tasks by status. Status can be: done | todo | in-progress | nonehelp [command]: display help for command
Solution to the Task-Tracker (Roadmap.sh) challenge