@bellvoud/task-tracker-cli
v1.0.1
Published
A simple CLI task tracker to manage your tasks
Maintainers
Readme
Task Tracker CLI
A simple command-line task tracker to manage your tasks efficiently. Built as part of the roadmap.sh project.
Features
- ✅ Add, update, and delete tasks
- ✅ Mark tasks as in-progress or done
- ✅ List all tasks or filter by status
- ✅ Tasks stored in JSON file
- ✅ Simple and easy to use
Installation
Global Installation (Recommended)
Install globally to use from anywhere:
npm install -g task-tracker-cliAfter installation, you can use task-cli command from anywhere!
Local Installation
Clone the repository and link it locally:
git clone https://github.com/bellvoud/task-tracker-cli.git
cd task-tracker-cli
npm linkUsage
Add a new task
task-cli add "Buy groceries"
task-cli add "Complete roadmap.sh project"Update a task
task-cli update 1 "Buy groceries and cook dinner"Delete a task
task-cli delete 1Mark task as in-progress
task-cli mark-in-progress 1Mark task as done
task-cli mark-done 1List all tasks
task-cli listList tasks by status
task-cli list done # Show only completed tasks
task-cli list todo # Show only pending tasks
task-cli list in-progress # Show only in-progress tasksTask Properties
Each task has the following properties:
- id: Unique identifier
- description: Task description
- status:
todo,in-progress, ordone - createdAt: Creation timestamp
- updatedAt: Last update timestamp
Data Storage
Tasks are stored in a tasks.json file in the directory where you first run the command.
Requirements
- Node.js >= 14.0.0
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Project URL
https://roadmap.sh/projects/task-tracker
