A super simple and simple command-line interface (CLI) tool for managing your tasks. Organize your workflow into To-Do, In Progress, and Done categories, with tasks saved in a tasks.json file in your current directory.
- 📝 Add tasks to your To-Do list
- 📋 View all tasks across To-Do, In Progress, and Done
- 🚀 Move tasks from To-Do to In Progress
- ✅ Mark tasks as Done
- 🧹 Clear completed tasks or reset everything
- 🎨 Color-coded console output for clarity
- Ensure you have Node.js (v16 or higher) installed.
- Clone or download this repository:
git clone <repository-url>
- Navigate to the project directory:
cd task-tracker - Install dependencies:
npm install
- Run the CLI using:
node index.js
Run commands with node index.js in the project directory. Tasks are stored in a tasks.json file created automatically in your current directory.
| Command | Alias | Description |
|---|---|---|
node index.js add "<task>" |
- | Add a task to the To-Do list |
node index.js list |
ls |
List all tasks in all categories |
node index.js start <id> |
- | Move a task from To-Do to In Progress |
node index.js done <id> |
- | Move a task from In Progress to Done |
node index.js clear |
- | Clear all tasks from the Done list |
node index.js clear-all |
- | Reset all tasks in all lists |
$ node index.js add "Finish CLI documentation"
$ node index.js add "Test CLI commands"
$ node index.js list
------- Your Tasks -------
-- To-Do --
1. Finish CLI documentation
2. Test CLI commands
-- In Progress --
(No Tasks)
-- Done --
(No Tasks)
$ node index.js start 1
🚀 Started Task: "Finish CLI documentation"
$ node index.js done 1
✅ Completed Task: "Finish CLI documentation"
$ node index.js list
------- Your Tasks -------
-- To-Do --
1. Test CLI commands
-- In Progress --
(No Tasks)
-- Done --
1. Finish CLI documentation