ip

View the Project on GitHub VRSoorya/ip

Quick start

  1. Ensure you have Java 11 or above installed in your Computer.

  2. Download the latest olaf.jar from here.

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

  4. Double-click the file to start the app. The GUI with a greeting from Olaf, similar to the below should appear in a few seconds. Notice your app will not have any data in the task list unlike the example below.
    Ui

  5. Type the command in the command box below and press Enter to execute it. e.g. typing help and pressing Enter will give a response listing all the possible commands you can use.
    Some example commands you can try:

    • list : Lists all tasks in the current list.

    • todo homework : Adds a todo Task with description homework to Olaf.

    • delete 3 : Deletes the 3rd listed task shown in the current list.

    • done 3 : Marks the 3rd Task in the current list as done.

    • bye : Exits the app after showing a goodbye message.

  6. Refer to the Features below for details of each command.


Notations

:information_source: Notes about the command format:

  • Words in <UPPER CASE> are the parameters to be supplied by the user.
    e.g. in done <TASK NUMBER>, <TASK NUMBER> is a parameter which can be used as done 3.

  • Items in square brackets are optional.
    e.g find <SEARCH TERM> [, <MORE SEARCH TERMS>] can be used as find project, presentation or as find project.

  • Extraneous parameters for commands that do not take in parameters (such as help, list, remind and bye) will NOT be ignored.
    e.g. if the command specifies help 123, it will not be interpreted as help.

Command summary

Action Format, Examples
Help help
List list
Remind remind
Todo todo <TASK DESCRIPTION>
Deadline deadline <TASK DESCRIPTION> /by <YYYY-MM-DD HH:mm> e.g., deadline project submission /by <2021-02-21 00:00>
Event event <TASK DESCRIPTION> /at <YYYY-MM-DD HH:mm> to <YYYY-MM-DD HH:mm>
e.g., event new year's eve /at <2021-12-31 00:00> to <2022-01-01 00:00>
Done done <TASK NUMBER>
e.g., done 2
Delete delete <TASK NUMBER>
e.g., delete 3
Find find <SEARCH TERM> [, <MORE SEARCH TERMS>]
e.g., find project, presentation

Features

Viewing help : help

Shows summary of all commands.

Format: help

Listing all tasks : list

Shows a list of all tasks in the application.

Format: list

Get reminder : remind

Shows a list of all upcoming deadlines and events in the next 7 days.

Format: remind

Adding a todo: todo

Adds a todo Task to the application.

Format: todo <TASK DESCRIPTION>

Examples:

Adding a deadline: deadline

Adds a deadline Task to the application.

Format: deadline <TASK DESCRIPTION> /by <YYYY-MM-DD HH:mm>

Examples:

Adding an event: event

Adds an event Task to the application.

Format: event <TASK DESCRIPTION> /at <YYYY-MM-DD HH:mm> to <YYYY-MM-DD HH:mm>

Examples:

Completing a task : done

Marks the specified task in the current task list as done.

Format: done <TASK NUMBER>

Examples:

Deleting a task : delete

Deletes the specified task in the current task list.

Format: delete <TASK NUMBER>

Examples:

Locating tasks by name: find

Finds tasks whose names contain any of the given search terms.

Format: find <SEARCH TERM> [, <MORE SEARCH TERMS>]

Examples:

Exiting the program : bye

Exits the program about 1 second after displaying a goodbye message.

Format: bye

Saving the data

Olaf tasks 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

Olaf tasks are saved as a .txt file [JAR file location]/data/olaf.txt. Advanced users are welcome to update data directly by editing that data file but please follow expected saving format to avoid application crashes.

:exclamation: Caution: If your changes to the data file makes its format invalid, Olaf will will not work as expected at the next run.

Archiving data files [coming in v2.0]

Details coming soon …


md template adapted from: https://github.com/se-edu/addressbook-level3/blob/master/docs/UserGuide.md