Skip to content

lutfir-cpu/ip

 
 

Repository files navigation

LutChat Chatbot - User Guide

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.

Table of Contents

  1. Introduction
  2. Getting Started
  3. Features
  4. Commands
  5. Examples
  6. Saving and Loading
  7. Exiting the Application
  8. Troubleshooting
  9. Credits

Introduction

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.

Getting Started

Prerequisites

  • Java Runtime Environment (JRE) 8 or higher

Running LutChat

  1. Download the lutchat.jar file from the repository.
  2. Open a terminal or command prompt.
  3. Navigate to the directory where the lutchat.jar file is located.
  4. Run the application using the following command:
    java -jar lutchat.jar

Features

  • 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.

Commands

Below is a list of supported commands in LutChat:

1. Add a To-do

Adds a simple to-do task to your list.

  • Format: todo <description>
  • Example: todo Read a book

2. Add a Deadline

Adds a task with a specified deadline.

  • Format: deadline <description> /by <date>
  • Example: deadline Submit assignment /by 2024-09-30

3. Add an Event

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

4. List All Tasks

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)
    

5. Mark a Task

Marks a specified task as completed.

  • Format: mark <task number>
  • Example: mark 1

6. Unmark a Task

Marks a specified task as completed.

  • Format: unmark <task number>
  • Example: unmark 1

7. Delete a Task

Removes a task from the list.

  • Format: delete <task number>
  • Example: delete 2

8. Greeting Goodbye

Saves the current list of tasks and greets goodbye.

  • Format: bye

Saving and Loading

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.

Exiting the Application

To exit the application, simply close the tab of the application using the 'X' button at the top right hand corner.

Troubleshooting

  • 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.

Credits

Lutchat is made by:

  • Lutfir Rahman Bin Sharizal

Images:


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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 96.0%
  • Shell 2.3%
  • Batchfile 1.7%