ip


Project maintained by jmleong666 Hosted on GitHub Pages — Theme by mattgraham

JM’s Duke

This is the user guide for JM’s take on the CS2103T greenfield project Duke, a chatbot that uses the Command Line Interface (CLI).

Setting up

Duke is best run with Java 11.

  1. Download the jar file duke.jar.
  2. Move the jar file to a directory of your choice.
  3. Under the same directory, create a new folder and name it data.
  4. Double click on the jar file to run Duke. If the program does not open run it from the terminal with the command java -jar duke.jar.

Features

Duke handles your tasks and reminds you of upcoming events/deadlines.

  1. Adding tasks
    1. todo
      Usage: todo [task description]
      Adds a simple todo task to Duke’s list.
    2. deadline
      Usage: deadline [task description] /by YYYY-MM-DD HH:MM
      Adds a task to Duke’s list with a deadline. Both date and time are required.
    3. event
      Usage: event [task description] /at YYYY-MM-DD HH:MM
      Adds an event with the time and date of the event to Duke’s list. Both date and time are required.
  2. List your tasks: list
    Usage: list
    Displays the list of all your tasks.
  3. Setting tasks as done: done
    Usage: done [position of task in the list as shown with the list command]
    Sets a task of your choice to be done. The status of a done task is denoted by the ✔ symbol.
  4. Delete a task: delete
    Usage: delete [position of task in the list as shown with the list command]
    Deletes a task of your choice. Be careful as this action is irreversible.
  5. Reminder: reminder
    Usage: reminder
    Lists upcoming tasks within the week.
  6. Find task by keyword: find
    Usage: find [keyword]
    Finds and lists tasks containing the keyword.
  7. Exit: bye
    Usage: bye
    Exits Duke and saves your list to the storage file in the data folder. Duke will save your tasks to the file only if you exit with this command.