TaskCLI is a simple command-line task manager to help you manage your daily tasks. Sample solution for the task-tracker challenge from roadmap.sh.
- Clone the repository:
git clone https://github.com/your-username/taskcli.git
- Navigate to the project directory:
cd taskcli - Install the dependencies:
npm install -g
You can use TaskCLI to add, list, complete, and delete your tasks.
taskcli add [task]: Add a new task.taskcli list: List all tasks.taskcli delete [id]: Delete a task.taskcli update [id] [description]: Update a task's description.taskcli mark-in-progress [id]: Mark a task as "in-progress".taskcli mark-done [id]: Mark a task as "done".taskcli help: Show the help message.
- To add a new task:
taskcli add "Buy groceries" - To list all tasks:
taskcli list
- To mark a task as complete:
taskcli mark-done 1
- To delete a task:
taskcli delete 1