View on GitHub

ip

User Guide - The Duke Who Manages Tasks

A Personal Assistant Chatbot that helps a person to keep track of various things. It’s named after the Java mascot Duke. Given below are instructions on how to use it.

Setting up in Intellij

Prerequisites: JDK 11, update Intellij to the most recent version.

  1. Open Intellij (if you are not in the welcome screen, click: File >: Close Project to close the existing project dialog first)
  2. Set up the correct JDK version, as follows:
    1. Click: Configure >: Structure for New Projects and then: Project Settings >: Project >: Project SDK
    2. If JDK 11 is listed in the drop down, select it. If it is not, click: New... and select the directory where you installed JDK 11
    3. Click: OK
  3. Import the project into Intellij as follows:
    1. Click: Open or Import.
    2. Select the project directory, and click: OK
    3. If there are any further prompts, accept the defaults.
  4. After the importing is complete, locate the: src/main/java/Launcher.java file, right-click it, and choose: Run Launcher.main(). If the setup is correct, you should see something like the below:

    GUI

Features

Create a Todo task : todo

Creates a Todo task and adds it to the task list.

Format: todo <task>

Examples:

Create a Deadline task: deadline

Creates a Deadline task and adds it to the task list.

Format: deadline <task> /by <dd/MM/yyyy HHmm>

Examples:

Create an Event task : event

Creates an Event task and adds it to the task list.

Format: event <task> /at <dd/MM/yyyy HHmm> /to <HHmm>

Examples:

Complete a task : done

Completes a task and sets its status to D for Done.

Format: done <index>

Examples:

Delete a task : delete

Removes a task and its note from the task list and shifts the remaining tasks accordingly.

Format: delete <index>

Examples:

List down all tasks : list

Lists down all tasks in the task list.

Format: list

Find tasks with word : find

Finds all tasks that matches with the search word(s).

Format: find <word>

Examples:

Add a note to a task : note

Adds a note to an existing task, recording the textual information that the user inputs.

Format: note <index> <text>

Examples:

Exit the program : exit

Exits the program.

Format: bye, exit, <hit Enter>

Command Summary

Action | Format, Examples ———— | ————- todo|todo <task>
e.g. todo feed a dodo deadline|deadline <task> /by <dd/MM/yyyy HHmm>
e.g. deadline dead /by 28/09/2020 2359 event|event <task> /at <dd/MM/yyyy HHmm> /to <HHmm>
e.g. event internal meeting /at 28/09/2020 0900 /to 1100 done|done <index>
e.g. done 2 delete|delete <index>
e.g. delete 3 list|list find|find <word>
e.g.
find deadline
find meeting
find 28 Sep
find D note|note <index> <text>
e.g.
note 1 This is a note.
note 2 This note exists because it can. exit|exit