ip

Jeff User Guide

Screenshot of the chatbot with some commands

Jeff is a chatbot for managing tasks (To-Do, Deadline, Event) using a Command Line Interface.

Quick Start

  1. Ensure you have Java 17 installed in your computer.

  2. Download the latest .jar file from here.

  3. Copy the file to the folder you want to use as the home folder for your Chatbot.

  4. Open a command terminal, cd into the folder you put the jar file in, and use the java -jar Jeff.jar command to run the application.

  5. A GUI similar to the below should appear in a few seconds.

Screenshot of the chatbot that is just opened

Features

Notes about the command format:

Adding a To-Do Task: todo

Adds a to-do task to the task list.

Format: todo DESCRIPTION

Shortcut: t DESCRIPTION

Examples:

Adding a Deadline Task: deadline

Adds a deadline task to the task list.

Format: deadline DESCRIPTION /by DATE_AND_TIME

Shortcut: dl DESCRIPTION /by DATE_AND_TIME

Examples:

Adding an Event Task: event

Adds an event task to the task list.

Format: event DESCRIPTION /from START_DATE_AND_TIME /to END_DATE_AND_TIME

Shortcut: e DESCRIPTION /from START_DATE_AND_TIME /to END_DATE_AND_TIME

Examples:

Listing all Tasks: list

Shows a list of all tasks.

Format: list

Shortcut: l

Exiting the Program: bye

Exits the program.

Format: bye

Shortcut: b

Locating Tasks by Keyword: find

Finds tasks whose descriptions contain the keyword.

Format: find KEYWORD

Shortcut: f KEYWORD

Examples:

Locating Tasks by Date: date

Finds deadline tasks which are due on the specified date and events that are happening on the specified date.

Format: date DATE

Shortcut: dt DATE

Examples:

Deleting a Task: delete

Deletes the specified task from the task list.

Format: delete TASK_NUMBER

Shortcut: dd TASK_NUMBER

Examples:

Marking a Task as Completed: mark

Marks the specified task as completed from the task list.

Format: mark TASK_NUMBER

Shortcut: m TASK_NUMBER

Marking a Task as not Completed: unmark

Marks the specified task as not completed from the task list.

Format: unmark TASK_NUMBER

Shortcut: u TASK_NUMBER

Saving the Data

All tasks data are saved in the hard disk automatically after any command that changes the data.
There is no need to save manually.

Editing the Data File

Tasks data are saved automatically as a txt file [JAR file location]/data/tasks.txt. Advanced users are welcome to update the data directly by editing that data file.

Caution:
If your changes to the data file makes its format invalid, the program will no longer work until you make the file format valid again, or you delete the data file. Hence, it is recommended to take a backup of the file before editing it.

Furthermore, certain edits can cause the chatbot to behave in unexpected ways (e.g., if a value entered is outside the acceptable range). Therefore, edit the data file only if you are confident that you can update it correctly.