Task tracker is a project used to track and manage your tasks. In this task, you will build a simple command line interface (CLI) to track what you need to do, what you have done, and what you are currently working on. This project will help you practice your programming skills, including working with the filesystem, handling user inputs, and building a simple CLI application.
Sample solution for the task-tracker challenge from roadmap.sh.
- Add a new task: Add tasks to your list.
- List all tasks: View all tasks with their details.
- List tasks by status: View tasks with selected status.
- Mark a task as completed: Set a task's status to completed.
- Delete a task: Remove a task from the list.
- Update a task: Edit the description of an existing task.
- PHP (versión ^8.0)
- Composer (https://getcomposer.org/download/)
-
Clone the repository to your local machine:
git clone https://github.com/yadindev/taks-traker-cli-php.git
-
Run composer install:
composer install
-
Run
setup.sh
script- On UNIX machine probably u need to first add permission to execute
chmod -x setup.sh
And then run script
./setup.sh
-
Now u can easily add your first task via CLI 🚀
- Example
task-cli add "Go gym for 2 hr"
- Example