Welcome to JBot, your personal task management chatbot. This guide will help you get started and understand how to use JBot effectively.
JBot is a task management chatbot designed to help you organize your tasks efficiently. You can create to-do lists, set deadlines, mark tasks as done, and much more using simple commands.
-
Launch the Application: To start the JBot application, run the
JBot.jar
file, which will start the JavaFX interface.java -jar JBot.jar
-
Graphical Interface: Once the application starts, a graphical user interface (GUI) will appear where you can type your commands.
- Input Box: Enter your commands here.
- Output Area: JBot will display responses and task updates in this section.
- Task List: View all your tasks in a scrollable list.
Here are the main commands you can use to interact with JBot.
Displays all tasks currently in the list.
list
- Example:
1. [T][ ] Buy groceries 2. [D][X] Submit assignment (by: Sep 21 2024) 3. [E][ ] Team meeting (from: 2pm to 4pm)
Adds a new to-do task to the list.
todo <task description>
-
Example:
todo Buy groceries
- Output:
Added: [T][ ] Buy groceries
- Output:
Adds a new event task to the list with a specified start and end time.
event <event description> /from <start time> /to <end time>
-
Example:
event Team meeting /from 2pm /to 4pm
- Output:
Added: [E][ ] Team meeting (from: 2pm to 4pm)
- Output:
Adds a new task with a deadline.
deadline <task description> /by <deadline in d/M/yyyy HHmm>
-
Example:
deadline return book /by 2/12/2024 1800
- Output:
Added: [D][ ] Submit assignment (by: Sep 21 2024)
- Output:
Marks a specific task as completed. The task index is based on the current list.
mark <task index>
-
Example:
mark 2
- Output:
Nice! I've marked this task as done: [D][X] Submit assignment (by: Sep 21 2024)
- Output:
Unmarks a completed task.
unmark <task index>
-
Example:
unmark 2
- Output:
OK, I've marked this task as not done yet: [D][ ] Submit assignment (by: Sep 21 2024)
- Output:
Deletes a task from the list.
delete <task index>
-
Example:
delete 1
- Output:
Noted. I've removed this task: [T][ ] Buy groceries
- Output:
Finds tasks that match a keyword.
find <keyword>
-
Example:
find assignment
- Output:
1. [D][X] Submit assignment (by: Sep 21 2024)
- Output:
Exits the application.
bye
-
Example:
bye
- Output:
Bye. Hope to see you again soon!
The application will close after displaying this message.
- Output:
Displays a help message with available commands and usage instructions.
help
- Output:
Here are the available commands: - list: Display all tasks. - todo <task>: Add a to-do task. - event <task> /from <time> /to <time>: Add an event. - deadline <task> /by <deadline>: Add a task with a deadline. - mark <index>: Mark a task as completed. - unmark <index>: Unmark a task. - delete <index>: Delete a task. - find <keyword>: Find tasks by keyword. - bye: Exit the application.
- JBot stores tasks in a JSON file (
JBotStorage.json
) in thedata
directory. - All tasks and their statuses will be saved automatically and loaded the next time you run the application.
Feel free to reach out for any questions or feedback!