Welcome to LutChat! This guide will help you get started with LutChat, a simple command-line chatbot that helps you manage and keep track of your tasks effectively.
- Introduction
- Getting Started
- Features
- Commands
- Examples
- Saving and Loading
- Exiting the Application
- Troubleshooting
- Credits
LutChat is a chatbot application that allows users to manage their tasks in a structured way. Users can create simple to-dos, set deadlines, and add events. The application supports adding, deleting, marking tasks as done, and displaying all tasks. It also saves tasks to a file, so you can retrieve them the next time you start LutChat.
- Java Runtime Environment (JRE) 8 or higher
- Download the
lutchat.jar
file from the repository. - Open a terminal or command prompt.
- Navigate to the directory where the
lutchat.jar
file is located. - Run the application using the following command:
java -jar lutchat.jar
- Add Tasks: Create different types of tasks (
todo
,deadline
,event
). - List Tasks: View all tasks currently stored.
- Mark as Done: Mark tasks as completed.
- Mark as UnDone: Unmarks tasks.
- Delete Tasks: Remove tasks from the list.
- Save and Load: Automatically saves tasks to a file and loads them when the application starts.
Below is a list of supported commands in LutChat:
Adds a simple to-do task to your list.
- Format:
todo <description>
- Example:
todo Read a book
Adds a task with a specified deadline.
- Format:
deadline <description> /by <date>
- Example:
deadline Submit assignment /by 2024-09-30
Adds an event that occurs within a specific time frame.
- Format:
event <description> /from <start date> /to <end date>
- Example:
event Team meeting /from 2024-09-25 /to 2024-09-26
Displays all tasks in the list with their status (done/not done).
- Format:
list
- Example Output:
1. [T][ ] Read a book 2. [D][X] Submit assignment (by: 2024-09-30)
Marks a specified task as completed.
- Format:
mark <task number>
- Example:
mark 1
Marks a specified task as completed.
- Format:
unmark <task number>
- Example:
unmark 1
Removes a task from the list.
- Format:
delete <task number>
- Example:
delete 2
Saves the current list of tasks and greets goodbye.
- Format:
bye
LutChat automatically saves your tasks to a file every time you add, delete, or mark a task as done. When you start LutChat, it will load the saved tasks from the file so you can continue where you left off.
To exit the application, simply close the tab of the application using the 'X' button at the top right hand corner.
- Commands Not Working: Ensure you follow the correct command format as specified above.
- File Save/Load Errors: If LutChat fails to save or load tasks, ensure you have proper file permissions in the directory where the application is running.
Lutchat is made by:
- Lutfir Rahman Bin Sharizal
Images:
- https://www.pinterest.com/pin/cute-ghost-icon--754986325039285968/ (Cute Ghost Icon)
- https://www.dreamstime.com/illustration/human-being-fat-blob-person-people-androgynous-cute-cartoon-sticker-label-stick.html (Human Blob Icon)
This guide should help you use LutChat effectively to manage your tasks. If you encounter any issues or have suggestions for improvements, feel free to open an issue in the GitHub repository!