data_coNdUctorS is a desktop address book application for managing contact details of members in NUS Co-Curricular Activity (CCA) groups. It is optimised for use via a Command Line Interface (CLI) while still having the benefits of a Graphical User Interface (GUI). If you can type fast, data_coNdUctorS can get your contact management tasks done faster than traditional GUI apps.
Ensure you have Java 17 or above installed in your Computer.
Download the latest .jar file from here.
Copy the file to the folder you want to use as the home folder for the application.
Open a command terminal, cd into the folder you put the jar file in, and use the java -jar data_coNdUctorS.jar command to run the application. A GUI similar to the below should appear in a few seconds.

Note how the app:
Type the command in the command box and press Enter to execute it. e.g. typing help and pressing Enter will open the help window.
Some example commands you can try:
list: Lists all contacts.add n/John Doe th/johnny_9876_haha ss/undergraduate 3 e/johnd@example.com r/Admin: Adds a contact named John Doe to the Address Book application.delete 3: Deletes the 3rd contact shown in the current displayed list.clear: Deletes all contacts.exit: Exits the app.Refer to Command Summary for a general overview of the commands available.
Refer to Features below for the details of each command feature and UI features.
| Action | Format, Examples |
|---|---|
| Add adds a contact | add n/NAME th/TELEGRAM_HANDLE ss/STUDENT_STATUS e/EMAIL r/ROLE… [nn/NICKNAME] e.g., add n/James Ho th/jamesho123 ss/undergraduate 3 e/jamesho@example.com r/Admin r/President |
| Edit edits a contact | edit INDEX [n/NAME] [th/TELEGRAM_HANDLE] [e/EMAIL] [ss/STUDENT_STATUS] [r/ROLE]… [nn/NICKNAME]edit FULL_NAME [n/NAME] [th/TELEGRAM_HANDLE] [e/EMAIL] [ss/STUDENT_STATUS] [r/ROLE]… [nn/NICKNAME]e.g., edit 2 n/James Lee e/jameslee@example.com e.g., edit James Ho n/James Lee |
| Delete deletes a contact | delete INDEX e.g. delete 3 delete FULL_NAME e.g. delete James Ho delete n/FULL_NAME e.g. delete n/James Ho |
| Find shows specific contacts | find [n/NAME] [th/TELEGRAM_HANDLE] [e/EMAIL] [ss/STUDENT_STATUS] [r/ROLE]… [nn/NICKNAME]e.g., find n/jam lee r/admin r/vice president nn/jl |
| List shows all contacts | list [all]... [contacts]... [allcontacts]... |
| Help provides more details on commands' usage | help |
| Clear clears all contacts | clear |
| Exit exits the app | exit |
Terminologies used to refer to a specific part of the command format are shown below:

Words in UPPER_CASE are to be supplied by the user.
e.g. add n/NAME can be used as add n/John Doe.
Items in square brackets are optional.
e.g n/NAME [nn/NICKNAME] can be used as n/John Doe nn/johnnyboiiii or as n/John Doe.
Items with … after them can be used from one to multiple times.
e.g. r/ROLE… can be used twice as r/External r/Marketing etc.
Parameters can be in any order.
e.g. if the command specifies n/NAME e/EMAIL, e/EMAIL n/NAME is also acceptable.
Extraneous parameters for commands that do not take in parameters (such as exit and clear) will be ignored.
e.g. if the command specifies exit 123, it will be interpreted as exit.
The COMMAND_WORD is not case-sensitive. (eg. add; ADD; aDd are all interpreted as add)
User input is limited to 1000 characters.
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.
addFormat:add n/NAME th/TELEGRAM_HANDLE e/EMAIL s/STUDENT_STATUS r/ROLE… [nn/NICKNAME]
Action: Adds a contact to the address book.
Parameters do not need to be in order.
r/ROLE can be used 1 to any non-zero number of times.
nn/NICKNAME is optional.
Tip: Refer to Contact Fields for constraints on each of the contact fields.
Examples:
add n/John Doe th/johndoe e/johnd@example.com ss/undergraduate 3 r/Admin r/President nn/altNameadd n/Betsy Crowe th/betsycrowe e/betsycrowe@example.com ss/masters r/President r/Adminadd n/Alex Yeoh th/alexyeoh123 e/alexyeoh@example.com ss/masters r/President r/Admin 
Note:
add command will fail if you try to add a person who is already in the address book. You may refer to invalid contacts to see what is considered as having the same identity.add command will fail if you attempt to add a person with a duplicate field as an existing contact, please refer to invalid contacts for more information.editAction: Edits an existing contact in the address book.
You may edit by specifying the index of
the contact in the displayed address book, or by specifying the full name
of any currently displayed contact that you wish to edit.
Format: edit INDEX [n/NAME] [th/TELEGRAM_HANDLE] [e/EMAIL] [ss/STUDENT_STATUS] [r/ROLE]… [nn/NICKNAME]
INDEX.Examples:
edit 1 th/johndoe123 e/johndoe@example.comjohndoe123 and johndoe@example.com respectively.edit 2 r/Admin r/President Admin and President, this replaces all existing roles of the contact.Format: edit FULL_NAME [n/NAME] [th/TELEGRAM_HANDLE] [e/EMAIL] [ss/STUDENT_STATUS] [r/ROLE]… [nn/NICKNAME]
FULL_NAME.FULL_NAME has to be an exact match to an existing contact which is displayed.FULL_NAME is not case-sensitive.Examples:
edit alex yeoh th/johndoe123 e/johndoe@example.com Alex Yeoh to be johndoe123 and johndoe@example.com respectively.

Note:
FULL_NAME refers to the full name of contact displayed (to edit) while n/NAME is an input to change the contact's name to.edit command will fail if the changes would result in the edited contact having the same identity as another existing contact, as described in section invalid contacts.edit command will fail if you enter a duplicate field as an existing contact as seen in section invalid contacts.FULL_NAME matching to multiple contacts that exist, you will have to find n/FULL_NAME followed by edit INDEX PARAMETER... to choose which contact of the specified FULL_NAME you wish to edit.deleteAction:
Deletes the specified contact from the address book.
You may delete by specifying the index of
the contact in the displayed address book, or by specifying the full name
of any currently displayed contact that you wish to delete.
Format: delete INDEX
INDEX.Examples:
list followed by delete 2 deletes the 2nd contact in the address book.find n/alex followed by delete 1 deletes the 1st contact in the results of the find command.Format: delete FULL_NAME or delete n/FULL_NAME
FULL_NAME.find n/alex followed by delete Amy Gould would not work, since Amy Gould would not be displayed.FULL_NAME has to be an exact match to an existing contact in the displayed list.FULL_NAME is not case-sensitive.Examples:
delete Amy Gould and delete n/Amy Gould delete the user whose name is Amy Gould (not case-sensitive) in the address book.

Note:
delete FULL_NAME n/FULL_NAME_2 or delete INDEX n/FULL_NAME)FULL_NAME matching to multiple contacts that exist, you will have to find n/FULL_NAME followed by edit INDEX PARAMETER... to choose which contact of the specified FULL_NAME you wish to edit.Tip: How to edit / delete contacts by full names when more than 1 contact has the same name?
edit or delete followed by a REPEATED_FULL_NAME in the address book, an error will arise, prompting you to delete by index instead.find n/REPEATED_FULL_NAME which can be found belowREPEATED_FULL_NAMEINDEXINDEXfindFormat: find [n/NAME] [th/TELEGRAM_HANDLE] [e/EMAIL] [ss/STUDENT_STATUS] [r/ROLE]… [nn/NICKNAME]
Action: Finds contacts whose details matches all given fields.
find r/pResiDent → validfind find n/abc → validfind abc n/rawr → invalid[r/ROLE]:
find r/Vice President r/Admin → validfind r/pres → invalidfind r/President → validfind r/pResiDent → validfind r/Vice President r/Admin will only return contacts holding both roles.[n/NAME] [th/TELEGRAM_HANDLE] [e/EMAIL] [ss/STUDENT_STATUS] [nn/NICKNAME]:
Hans Bo will match Bo Hans.Han will match Hans, but query Hans will not match Han.Hans Ansbo will match Hansbo.AND search).
e.g. query Hans Bo will match Hans Boey and Hans Jobo but not Hans Gruber.Examples:
find n/john returns Johnny Tan and John Doe. find n/harlot olive ss/masters returns Charlotte Oliveiro, who holds the student status masters. find r/Admin r/President returns Joanna Carroll who holds both roles, but not Alex Yeoh who only holds the role Admin. 
Note: Searching by Name does not include Nicknames (and vice versa). find n/Alex does not include Contacts with the field nn/alex
Tip: How to revert back to the full contact list after find?
list to display the full contact list. Refer to List for more details.add or edit.listFormat: list [all]... [contacts]... [allcontacts]...
Action: Shows a list of all contacts in the address book.
all or contacts or allcontacts or any combinations of these three words separated by spaces are acceptedhelpFormat: help
Action: Shows a message explaining how to access the help page.
This also prompts the user to do help COMMAND_WORD where COMMAND_WORD refers to:
addeditdeletefindlistclearexitFrom this, the user can get a quick reminder on how to use the various commands without having to refer to the User Guide.
clearFormat: clear
Action: Clears all entries from the address book.
exitFormat: exit
Action: Exits the program.
The app comes with a pagination at the bottom of the list. It supports navigation to a specific page or navigation to
the next or previous page. Each page contains a maximum of 10 items. The pagination supports a maximum of 10 pages
being displayed at one time, to access more pages, one can go to the last page shown at the bottom and click on NEXT page button to access other pages.
Alternatively, users can make use of left and right arrow keys on the keyboard to navigate to the previous and next page. To do this, users need to make sure that they have at least one click on the pagination before using keyboard to make sure that the app is focusing on the pagination component.
A status bar that contains information about the number of contacts in the list and the address book data file path is attached as a footer at the bottom of the app. It shows the total number of contacts being listed in the app.
The footer will display x out of y contacts listed, where x is the number of contacts in filtered list while y is the number of contacts in the entire list
Examples:
find n/Adam may show only 1 contact out of 19. 1 refers to the number of found contacts, 19 refers to the total number of contacts in the address book.

AddressBook data are saved in the hard disk automatically after any command that changes the data. There is no need to save manually.
AddressBook data are 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.
Caution: If your changes to the data file makes its format invalid, AddressBook will discard all data and start with an empty data file at the next run. Hence, it is recommended to take a backup of the file before editing it. Furthermore, certain edits can cause the AddressBook to behave in unexpected ways (e.g., if a value entered is outside the acceptable range). Therefore, edit the data file only if you are confident that you can update it correctly.
Identity conflict:
Name and Nickname. Nickname is case-sensitive, e.g. nn/alice and nn/Alice are considered different nicknames.Duplicate fields
Telegram Handle, Email, and Nickname.Telegram Handle, Email, and Nickname are all case-sensitive, and will only be considered duplicate entries if the case matches exactly.For example, if there are contacts with the following data:
n/Alice Tan th/alicetan123 e/alicetan123@example.com ss/phd r/Marketingn/John Doe th/johndoe e/johnd@example.com ss/undergraduate 3 r/Admin r/President nn/Johnny Note: Alice Tan's lack of nickname is considered a unique nickname to Alice Tan. Also, John has the role of President.
Assuming the above entry in the address book, the following parameters passed into edit / add are considered valid / invalid:
| Case | Valid | Invalid |
|---|---|---|
| 1 | n/John Doe nn/notJohnny ... → same Name but different Nickname n/Alice Tan nn/anyNickname ... → same Name but unique Nickname | n/John Doe nn/Johnny ... → John Doe with nickname Johnny already existsn/John Depp nn/Johnny ... → nickname Johnny already belongs to an existing contactn/Alice Tan ... → Alice Tan without a nickname already exists (only applicable to add command as editing to the same original contact is allowed) |
| 2 | th/notalicetan123 ...th/notjohndoe ... | th/johndoe ... → telegram handle already belongs to an existing contact |
| 3 | e/notjohnd@example.com ... | e/johnd@example.com ... → email already belongs to an existing contact |
| 4 | r/Admin r/Marketing ... (and r/President not inside) | r/Admin r/President ... → John is already President |
| Field | Prefix* | Valid examples | Invalid examples |
|---|---|---|---|
| NAME | n/ | Gina TanJane Smith @ JonesJane Smith@JonesRavi S/O RamasamyDevi D/O RajaratnamJanelle Wong (Jane) | James&spaces must come before and after D/O or S/O → RaviS/ORamasamyDeviD/ORajaratnam |
| TELEGRAM HANDLE | th/ | ginatan123jane_smith28 | @ginatan123 |
e/ | gina_tan@example-web.com | gina_tan@ | |
| STUDENT STATUS | ss/ | Undergraduate 3MastersPhD | u 1undergraduate 7 |
| ROLE | r/ | PresidentEvents (External) | Events(Internal) |
| NICKNAME | nn/ | genie34 ;) |
nn/).Tip: Case sensitivity
Telegram Handle, Email, and Nickname are case-sensitive, and will retain the exact format as provided by the user.Name, Student Status, and Role are not case-sensitive, and will be automatically converted into their official format.@, S/O, D/O in the middle of the name is allowed. e.g.Ravi S/O RamasamyS/O or D/O(INSERT_NAME) at the end of the name is allowed. e.g. Gianna (Gian)@.LOCAL_PART@DOMAIN.+_.-.-, if any.-.., e.g. .com, .edu etcUndergraduate x (where x is an integer between 1 and 6 inclusive).MastersPhDPresidentVice PresidentAdminMarketingEvents (Internal)Events (External)External RelationsInformation: Roles for each contact are displayed in the order listed above.
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 AddressBook home folder.
Q: How do I update a contact's information?
A:Use the edit command followed by the contact's index or name and the new details. For example, edit 1 n/Updated Name th/new_handle.
Q: Why is my newly added contact not showing on the first page?
A: Contacts are sorted alphabetically by default. If the contact’s name falls further down the list, it may appear on a later page. Use pagination controls to locate it.
Q: What happens if I add a contact with the same name but a different nickname?
A: As long as the nickname differs, the contact will be added without conflict. However, identical Nickname and Name entries are flagged as duplicate identities and will not be allowed.
Q: Why are undergraduate 1 to 6 being allowed? Isn't it typical for undergraduates to only have 4 years of study?
A: Some undergraduate students such as those with a double degree programme has a maximum candidature period of 6 years.
Q: Why is my command returning an "Invalid Role" error?
A: Ensure roles are entered in the exact format expected by the app. An "Invalid Role" error may indicate that a role was mistyped or included with extra symbols, such as [ ].
Q: Can I undo a deletion?
A: Currently, deletions are final and cannot be undone. Always double-check before using the delete command to avoid accidental deletions.
Q: Can I add or edit or delete multiple contacts within a single command?
A: This functionality is not supported.
Q: How can I search for contacts without case sensitivity?
A: Searches are case-insensitive, so you can enter names, nicknames, or other fields without worrying about uppercase or lowercase letters.
Q: After executing the find command, why can't the display continue to show the filtered list if I add or edit a contact immediately after?
A: This functionality is not supported. Adding or editing a contact will show the full list of contacts with the updated change made as the display (i.e., as if list command has been executed after add or edit command is executed).
When using multiple screens, if the user moves the application to a secondary screen, and later switches to using only the primary screen, the GUI will open off-screen. The remedy is to delete the preferences.json file created by the application before running the application again.
When inputting duplicate contact, if the user edits a contact with the same NAME and NICKNAME as an existing contact currently produces an unclear message ("This contact already exists in the address book"), but could instead display the conflicting contact details and clarify the duplicated fields.
When a wrong field is inputted, running add n/John Doe th/johnny_9876_haha e/johnd@example.com ss/undergraduate 3 r/Admin r/President [nn/altName] outputs a vague error message ("Invalid Role"), which should specify the unrecognised role "President [".
Case Sensitivity for Some Contact Fields: Some contact fields, such as Nickname, Telegram Handle, and Email, are currently case-sensitive, which may lead to duplicate entries when similar contacts with different cases are loaded into the address book.
Delayed Display of Newly Added Contact: If a contact is added but does not appear immediately on the first page, it may be due to the alphabetical sorting. Users may need to navigate through pages to locate newly added contacts if their names fall further down alphabetically.