User Guide for Lihua

Lihua is a friendly task management bot residing in a desktop application. The bot is optimized for use via a Command Line Interface (CLI) while still having the benefit of a Graphical User Interface (GUI). If you can type fast, Lihua can get your daily task management job done faster than traditional GUI apps.

Quick start

  1. Ensure you have Java 11 or above installed in your computer.
  2. Download the latest Lihua.jar from here.
  3. Copy the file you downloaded in step 2 to the folder you want to use as the home folder for Lihua. E.g. ~/Desktop/Lihua/Lihua.jar
  4. Open the terminal window, make sure your present working directory is the home folder you created in step 3.
  5. Run java -jar Lihua.jar. The GUI similar to the below should appear in a few seconds.

Ui-start

  1. Type the command in the command box and press Enter to execute it. e.g. typing help and pressing Enter will let Lihua list help information for all tasks.

    Some example commands you can try:

    • list: Lists all tasks.
    • todo Do CS2103T IP tasks.: Adds a todo task named "Do CS2103T IP tasks.".
    • done 1: Marks the first task in your list as done.
    • delete 1: Deletes the first task in your list.
    • bye: Exits the application.
  2. Refer to the Features below for details of each command.

Features

Notes about the features:

Viewing Help

Shows a message giving detailed explanation of available commands.

Format: help.

Adding a task

Adds a task to the Lihua's task list. More specifically, there are 3 types of tasks you can add, as specified below.

Adding a todo

Adds a todo task to Lihua. A todo task is a task with only a task name.

Format: todo TASKNAME.

Example: todo Do homework.

Adding a deadline

Adds a deadline task to Lihua. A deadline task is a task with a task name and a task deadline date.

Format: deadline TASKNAME /by YYYY-MM-DD.

Example: deadline Submit IP /by 2021-02-19.

Notes:

Adding an event

Adds an event task to Lihua. An event task is a task with a task name and a task commencement date.

Format: event TASKNAME /at YYYY-MM-DD.

Example: event Party for PGPR /at 2020-02-23.

Notes:

Listing tasks

Lists all tasks stored in Lihua.

Format: list [-time].

Example:

Ui-list

Notes:

Finding tasks by key word

Finds all tasks containing the key word specified.

Format: find KEYWORDS.

Example: find abc.

Ui-find

Notes:

Marking a task as done

Marks a task as done.

Format: done TASKINDEX.

Example: done 1.

Notes:

Deleting a task

Deletes a task.

Format: delete TASKINDEX.

Example: delete 1.

Notes:

Exiting the program

Exits the application.

Format: bye.

Saving the data

Lihua's data is saved in the hard disk automatically after any command that changes the data. There is no need to save manually.

Editing the data file

Lihua's data is saved as a JSON file [JAR file location]/data/lihua.json. Advanced users are welcome to update data directly by editing that data file.

FAQ

Q: How do I transfer my data to another Computer?

A: Install the app in the other computer and overwrite the empty data file it creates with the file that contains the data of your previous Lihua home folder.

Command Summary

Command Format Example / Explanation
bye bye application exits
deadline deadline TASKNAME /by YYYY-MM-DD deadline homework /by 2021-01-01
delete delete TASKINDEX delete 1
done done TASKINDEX done 1
event event TASKNAME /at YYYY-MM-DD event party /at 2020-01-01
find find abc tasks containing abc will be listed
help help help message for commands will be printed
list list [-time] tasks [with date] will be listed
todo todo TASKNAME todo Eat