User Guide
EduConnect is a desktop application that enables private tutors to manage their work contacts, optimized for use via a Command Line Interface (CLI) while still having the benefits of a Graphical User Interface (GUI). If you can type fast, EduConnect can get your contact management tasks done faster than traditional GUI apps.
Quick start
-
Ensure you have Java
17or above installed in your Computer.
Mac users: Ensure you have the precise JDK version prescribed here. -
Download the latest
.jarfile from here. -
Copy the file to the folder you want to use as the home folder for EduConnect.
-
Open a command terminal,
cdinto the folder you put the jar file in, and use thejava -jar educonnect.jarcommand to run the application.
A GUI similar to the below should appear in a few seconds. Note how the app contains some sample data.

-
Type the command in the command box and press Enter to execute it. e.g. typing
helpand pressing Enter will open the help window.
Some example commands you can try:-
list: List all contacts. -
add n/John Doe p/98765432 a/1A Kent Ridge Rd, 119224: Add a contact namedJohn Doewith a phone number98765432and address1A Kent Ridge Rd, 119224to the Address Book. -
del 3: Delete the contact with anIDof 3. -
clear: Delete all contacts. -
exit: Exit the app.
-
-
Refer to the Features below for details of each command.
Features
Notes about the command format:
-
Words in
UPPER_CASEare the parameters to be supplied by the user.
e.g. inadd n/NAME,NAMEis a parameter which can be used asadd n/John Doe. -
Items in square brackets are optional.
e.gn/NAME [t/TAG]can be used asn/John Doe t/Studentor asn/John Doe. -
Items with
… after them can be used multiple times including zero times.
e.g.[t/TAG]…can be used as ` ` (i.e. 0 times),t/Student,t/Student t/Parentetc. -
Parameters can be in any order.
e.g. if the command specifiesn/NAME p/PHONE_NUMBER,p/PHONE_NUMBER n/NAMEis also acceptable. -
Extraneous parameters for commands that do not take in parameters (such as
help,list,exitandclear) will be ignored.
e.g. if the command specifieshelp 123, it will be interpreted ashelp. -
If you are using a PDF version of this document, be careful when copying and pasting commands that span multiple lines as space characters surrounding line-breaks may be omitted when copied over to the application.
Viewing help: help
Show a message explaining how to access the help page.

Format: help
Adding a person: add
Add a person to the address book.
Format: add n/NAME [p/PHONE_NUMBER] [a/ADDRESS] [t/TAG]… [r/REMARK]
- Only
n/NAMEis required. -
p/PHONE_NUMBER,a/ADDRESS,t/TAG,r/REMARKare optional. -
add n/John Doeandadd n/John Doe p/are both valid. Both create a contact without a phone number. - Similarly,
add n/John Doeandadd n/John Doe a/are both valid. Both create a contact without an address. - This behaviour is similar for remark.
add n/John Doeandadd n/John Doe r/are both valid. Both create a contact without a remark. - If the new contact is a duplicate of an existing contact, it will not be added. Duplicate contacts are defined as those with the same name, phone number and address.
Examples:
add n/John Doe t/Student p/98765432 a/John street, block 123, #01-01 r/new studentadd n/John Doe a/John street, block 123, #01-01 t/Parent t/Tutoradd n/Jane Doe p/98765432add n/Jane Doe p/add n/Jane Doe a/
The first example gives the following expected output:

Listing all persons: list
Show a list of all persons in the address book.
Format: list
-
Since phone number, address and remark fields are optional, the UI alerts the user if a particular person has no phone number or address:

Editing a person: edit
Edit an existing person in the address book.
Format: edit ID [n/NAME] [p/PHONE] [a/ADDRESS] [t/TAG]… [r/REMARK]
-
IDspecifies the person to be edited. -
IDmust be a positive integer 1, 2, 3, … - At least one of the optional fields must be provided.
- Existing values will be updated to the input values.
- Use this command for all tag updates. EduConnect does not provide a separate
tagcommand. - When editing tags, the provided tags will be appended to the person’s existing tags.
- Only valid tags may be used:
Student,Parent,Tutor. - Repeating an existing tag has no effect because duplicate tags are not stored.
- You can remove all the person’s tags by typing
t/without specifying any tag after it. -
t/must be used on its own. Do not combinet/with tag values in the same command.
Examples:
-
edit 1 p/91234567: Edit the phone number of the person withID1, changing it to91234567. -
edit 2 t/Parent: Append the tagParentto the person withID2. -
edit 2 t/Parent t/Tutor: Append bothParentandTutorto the person withID2. -
edit 2 n/Betsy Crower t/: Edit the name of the person withID2, changing it toBetsy Crower, whilst clearing all existing tags.
Locating persons: find
Find persons whose specified fields contain any of the given keywords.
Format: find [n/NAME]... [a/ADDRESS]... [p/PHONE]... [t/TAG]... [r/REMARK]...
- At least one prefixed keyword must be provided.
- Unprefixed input is not allowed. e.g.
find Aliis invalid. -
n/searches names,a/searches addresses,p/searches phone numbers,t/searches tags andr/searches remarks. - The search is case-insensitive for names, addresses, and tags. e.g.
n/hanswill matchHansandt/studentwill matchStudent - Phone matching is digit-based substring matching. e.g.
p/9435will match a phone number containing9435 - Partial matches are supported. e.g.
n/Hanwill matchHans - Persons matching at least one prefixed keyword will be returned (i.e.
ORsearch across all provided fields and keywords). - Repeating the same prefix is allowed. e.g.
find n/Ali n/August
Examples:
-
find a/119224returns persons whose address contains119224 -
find n/Clementreturns persons whose name containsClement -
find p/9435returns persons whose phone number contains9435 -
find n/aleX a/seranreturns persons whose name containsaleXor whose address containsseran -
find t/studentreturns persons whose tags containstudent -
find n/Ali n/Augustreturns persons whose names containAliorAugust -
find r/firstreturns persons whose remarks containfirstorFirst(note that the search in case-insensitive)
Notes:
- Every search term must be attached to a prefix.
- Contacts matching multiple keywords still appear only once in the filtered list.
- Contacts without an address will not match
a/keywords.
Deleting a person: del
Delete the specified person from the address book.
Format: del ID
- Deletes the person with the specified
ID. -
IDmust be a positive integer 1, 2, 3, …
Examples:
-
del 2: Delete the person withID2 from the address book. -
find n/Betsyfollowed bydel 1: Delete the person withID1 from the address book. Note that it does not delete the first person in the results of thefindcommand. -
add n/Andrewfollowed bydel 1: Delete the person withID1 from the address book. Note that it does not delete the contact that was just added. -
add n/Andrewfollowed bydel 1: Fail if there is no person withID1 in the address book.
Copying a person information: copy
Copy a specified field of a person from the address book to the user clipboard.
Format: copy ID FIELD
- Possible fields include
n/for name,p/for phone number, anda/for address - Copy is not supported for the remark field. The
r/field is invalid for this command. - If the person’s field is empty, then nothing will be copy to the clipboard.
Examples:
-
copy 6 n/: Copy the name of the person withID6 to the clipboard. -
copy 7 p/: Copy the phone number of the person withID7 to the clipboard. -
copy 9 a/: Copy the address of the person withID9 to the clipboard. -
copy 1 p/: Fail ifID1 is not found or the phone number field of the person withID1 is empty.
Clearing all entries: clear
Clear all entries from the address book, whilst displaying all the contacts that have been removed.
Format: clear
Exiting the program: exit
Exit the program.
Format: exit
Saving the data
EduConnect 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
EduConnect data is saved automatically as a JSON file [JAR file location]/data/addressbook.json. Advanced users are welcome to update data directly by editing that data file.
Furthermore, certain edits can cause EduConnect to behave in unexpected ways (e.g., if a value entered is outside of the acceptable range). Therefore, edit the data file only if you are confident that you can update it correctly.
Archiving data files [coming in v2.0]
Details coming soon …
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 EduConnect home folder.
Known issues
-
When using multiple screens, if you move the application to a secondary screen, and later switch to using only the primary screen, the GUI will open off-screen. The remedy is to delete the
preferences.jsonfile created by the application before running the application again. -
If you minimize the Help Window and then run the
helpcommand (or use theHelpmenu, or the keyboard shortcutF1) again, the original Help Window will remain minimized, and no new Help Window will appear. The remedy is to manually restore the minimized Help Window.
Command summary
| Action | Format, Examples |
|---|---|
| Add |
add n/NAME [p/PHONE_NUMBER] [a/ADDRESS] [t/TAG]… [r/REMARK] e.g., add n/James Ho, add n/James Ho p/, add n/James Ho p/22224444 a/123, Clementi Rd, 1234665 t/Parent t/Tutor r/new student
|
| Clear | clear |
| Delete |
del IDe.g., del 3
|
| Edit |
edit ID [n/NAME] [p/PHONE_NUMBER] [a/ADDRESS] [t/TAG]… [r/REMARK]e.g., edit 2 t/Parent t/Tutor
|
| Find |
find [n/NAME]... [a/ADDRESS]... [p/PHONE]... [t/TAG]... [r/REMARK]...e.g., find n/James t/Student
|
| List | list |
| Help | help |