A simple Command Line Interface (CLI) application for managing your tasks, built with Java and Maven.
This project is based on the Task Tracker project idea from roadmap.sh.
Since this project uses Maven, you can build and run it using the following commands:
mvn clean compilemvn exec:java -Dexec.mainClass="sta.Main"You can also run the pre-built jar file directly from the out/artifacts/ directory:
java -jar out/artifacts/Task_manager.jarOnce the application is running, you will see a prompt:
Welcome to task manager cli
>>
From here, you can start entering the commands below. To exit the application, type q or ^[.
The CLI supports the following commands to manage your tasks. Make sure to wrap your task descriptions in quotes if they contain spaces.
Adds a new task to your list.
task-cli add "Buy groceries"
Updates the description of an existing task by its ID.
task-cli update 1 "Buy groceries and cook dinner"
Deletes a task by its ID.
task-cli delete 1
Updates the status of a task to in-progress.
task-cli mark-in-progress 1
Updates the status of a task to done.
task-cli mark-done 1
You can list all tasks or filter them by their status.
- List all tasks:
task-cli list - List tasks to do:
task-cli list todo - List tasks in progress:
task-cli list in-progress - List completed tasks:
task-cli list done
To display help information within the CLI:
?help