Simple Task Tracker CLI (Command Line Interface) App built with PHP.
PHP Task Tracker CLI is a simple Command Line Interface application that allows users to manage their task list. This project is designed to explore and practice working with the Command Line Interface (CLI) and filesystem operations in PHP.
- PHP - version 8.3.6
List the ready features here:
- Adding a New Task: Create a new task with a description.
- Listing All Tasks: Display a list of all tasks with their details.
- Listing Tasks By Status: Display a list of all tasks by status.
- Updating Tasks: Modify the description of an existing task.
- Marking a Task: Modify the status of an existing task.
- Deleting Tasks: Remove a task from the list.
To run this CLI tool, you’ll need:
- PHP: Version 8.3 or newer
How to install:
-
Clone the repository
git clone https://github.com/krisnaajiep/php-task-tracker-cli.git
-
Change the current working directory
cd path/php-task-tracker-cli
-
Run the task tracker
php task-cli.php
-
Adding a new task
php task-cli.php add "Buy Groceries"
-
Updating task
php task-cli.php update 1 "Buy groceries and cook dinner"
-
Deleting task
php task-cli.php delete 1
-
Update task status to in progress
php task-cli.php mark-in-progress 1
-
Update task status to done
php task-cli.php mark-done 1
-
Listing all tasks
php task-cli.php list
-
Listing tasks by status
php task-cli.php list done
php task-cli.php list todo
php task-cli.php list in-progress
Project is: complete.
This project was inspired by roadmap.sh.