This is a command-line task manager application developed in Java using Maven and SQLite. The application allows users to manage their daily tasks efficiently through a command-line interface.
- Add tasks with necessary information.
- View all tasks.
- Mark tasks as complete.
- Remove tasks.
- Java 11 or higher
- Apache Maven 3.6 or higher
-
Clone the repository to your local machine:
git clone https://github.com/your-username/task-manager-cli.git
-
Navigate to the project directory:
cd task-manager-cli
-
Compile and run the project using Maven:
mvn clean compile exec:java -Dexec.mainClass="com.example.taskmanager.TaskManager" -Dexec.args="-a 'Finish assignment'"
-
To add a task:
mvn exec:java -Dexec.mainClass="com.example.taskmanager.TaskManager" -Dexec.args="-a 'Finish assignment'"
-
To view all tasks:
mvn exec:java -Dexec.mainClass="com.example.taskmanager.TaskManager" -Dexec.args="-v"
-
To mark a task as complete:
mvn exec:java -Dexec.mainClass="com.example.taskmanager.TaskManager" -Dexec.args="-c 1"
-
To remove a task:
mvn exec:java -Dexec.mainClass="com.example.taskmanager.TaskManager" -Dexec.args="-r 1"
This project is licensed under the MIT License - see the LICENSE file for details.