Task Manager CLI is a robust, lightweight command-line application built with Java. It allows users to efficiently manage their daily tasks with persistent file storage, ensuring data remains safe even after the program exits.
This project consists of a single-file Java application designed for simplicity and portability:
TaskManager.java: The core source code containing:- Task Model: Defines task properties (ID, title, description, status, timestamp).
- File Persistence: Methods (
load,save) to read/write tasks to a localtasks.txtfile. - CLI Interface: A menu-driven loop for user interaction.
- π CRUD Operations: Easily Add new tasks, List existing ones, and Remove unwanted entries.
- β Status Tracking: Mark tasks as DONE or TODO to keep track of progress.
- πΎ Persistent Storage: Automatically saves all data to
tasks.txtso your list is restored next time you run the app. - π Unique IDs: Uses
UUIDto ensure every task has a unique identifier for safe deletion and updates. - π Timestamps: Records the exact creation date and time for every task.
- Java Development Kit (JDK) 8 or higher installed.
- Clone the repository:
git clone [https://github.com/pushtikadia/Task_Manager.git](https://github.com/pushtikadia/Task_Manager.git)
- Navigate to the directory:
cd Task_Manager - Compile the code:
javac TaskManager.java
- Run the application:
java TaskManager
- Language: Java (JDK 8+)
- Libraries:
java.util(Collections, UUID),java.io(File Handling),java.time(LocalDateTime)
Task Manager CLI β’ Created by Pushti Kadia