Overview of User Guide
HR Helper is a desktop app for managing employees, optimized for use via a Command Line Interface (CLI) while still having the benefits of a Graphical User Interface (GUI).
HR Helper is mainly targeted at fledgling companies (e.g start-ups), who want to have an easy-to-use, intuitive human resource manager. With its gentle learning curve and versatility, it can be easily picked up by anyone, and used by any type of company.
Whether it be 5 staff members or 500 employees, HR Helper has the capability to accommodate a wide range of company sizes and is sure to be an asset to your companies' management system!
This user guide provides an overview for HR staff on the usage of HR Helper.
It starts off with the simple steps you need to take to install the app, to ensure you have a smooth experience getting started.
Afterward, it runs through the various commands available at your disposable to so you can use the app to its fullest potential.
Finally, frequently asked questions as well as known issues will be displayed so you can clarify any queries you might have.
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 your HR Helper.
Open a command terminal, cd into the folder you put the jar file in, and use the java -jar HRHelper.v1.6.jar command to run the application.
A login window similar to the below should appear in a few seconds. Login to HR Helper.

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 help and pressing Enter will open the help window.
Some example commands you can try:
list : Lists all employees.
add n/John Doe p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 t/friends t/owesMoney f/ d/HR l/12 1 : Adds an employee named John Doe to the HR Helper list.
delete 3 : Deletes the 3rd employee shown in the current list.
clear : Deletes all employees.
exit : Exits the app.
Notes about the command format:
Words in UPPER_CASE are the parameters to be supplied by the user.
e.g. in add n/NAME, NAME is a parameter which can be used as add n/John Doe.
Items in square brackets are optional.
e.g n/NAME [t/TAG] can be used as n/John Doe t/friend or as n/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/friend, t/friend t/family etc.
Parameters can be in any order.
e.g. if the command specifies n/NAME p/PHONE_NUMBER, p/PHONE_NUMBER n/NAME is also acceptable.
Extraneous parameters for commands that do not take in parameters (such as help, list, exit and clear) will be ignored.
e.g. if the command specifies help 123, it will be interpreted as help.
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.
Login to HR Helper with your username and password.
Format:
Tip: Press Enter to go to the next field!
Examples:
admin and password is 12345678.Warning: Keep your credentials secure.
helpShows a message explaining how to access the help page.
Format: help
Tip: Use the help command anytime to quickly refresh on command usage.
Examples:
Warning: Navigating to the link will not close HR Helper. Do not leave your device unattended.
addAdds an employee to the HR Helper.
Format: add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [t/TAG]… [f/FAVORITE] [d/DEPARTMENT] [l/LEAVE]
Tip: An employee can have any number of tags (including 0)
Examples:
add n/John Doe p/98765432 e/johnd@example.com a/John street, block 123, #01-01 f/true d/Operations l/12add n/Betsy Crowe t/friend e/betsycrowe@example.com a/Newgate Road p/1234567 t/lazy f/true d/Marketing l/10Warning: Duplicate employees with the same name cannot be added.
listShows a list of all employees in HR Helper.
Format: list
Tip: list can be used to show all employees after using the find command.
Example:
list shows all employees.Warning: Use this command before other commands like delete or edit to ensure you’re modifying the correct entry.
countCounts number of employees.
Format: count(for counting the filtered list), count tag/TAG(for counting employees with given TAG)
count.Tip: Use count with tags to quickly assess team sizes within specific departments or roles
Examples:
countcount tag/CommunicationsWarning: When using count t/TAG, ensure that the TAG exists and is spelled accurately; otherwise, the command may return zero results.
editEdits an existing employee in the HR Helper.
Format: edit INDEX n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [t/TAG]… [f/Boolean] [d/DEPARTMENT] [l/LEAVE]
INDEX. The index refers to the index number shown in the displayed employee list. The index must be a positive integer 1, 2, 3, …t/ without
specifying any tags after it.Tip: To remove all tags, use t/ without specifying tags (e.g., edit 1 t/).
Examples:
edit 1 p/91234567 e/johndoe@example.com Edits the phone number and email address of the 1st employee to be 91234567 and johndoe@example.com respectively.edit 2 n/Betsy Crower t/ Edits the name of the 2nd employee to be Betsy Crower and clears all existing tags.Warning: Changes overwrite current data. Double-check inputs before saving.
findFinds employees whose names contain any of the given keywords.
Format: find KEYWORD [MORE_KEYWORDS]
hans will match HansHans Bo will match Bo HansHan will not match HansOR search).
e.g. Hans Bo will return Hans Gruber, Bo YangTip: Use partial keywords to broaden your search (e.g., find Jo matches John and Joan).
Examples:
find John returns john and John Doefind alex david returns Alex Yeoh, David LiWarning: The find command only searches names. Ensure that names are correctly spelled.
deleteDeletes the specified employee from HR Helper.
Format: delete INDEX
INDEX.Tip: Use delete carefully, especially after sorting or filtering, as index positions may change.
Examples:
list followed by delete 2 deletes the 2nd employee in HR Helper.find Betsy followed by delete 1 deletes the 1st employee in the results of the find command.Warning: This action is irreversible. Use list before delete to confirm the index.
sortSorts the displayed employees based on specified tags.
Format: sort TAG
Tip: For large lists, use sort with commonly used tags to improve data visibility.
Examples:
sort friend Sorts and displays all employees tagged as friend.Warning: Sorting by multiple tags may combine various groups, which can affect other commands relying on order.
favoriteFavorites the specified employee from HR Helper.
Format: favorite INDEX
INDEX.Tip: Use favorite for high-priority employees, making them easier to locate with filtering or sorting.
Examples:
list followed by favorite 2 favorites the 2nd employee in HR Helper.find Betsy followed by favorite 1 favorites the 1st employee in the results of the find command.Warning: Avoid favoriting too many employees, as an excessive number of favorites can make it challenging to identify key employees quickly.
clearClears all entries from HR Helper.
Format: clear
Tip: Use clear only when resetting the database is intentional.
Examples:
clear resets the database in HR Helper.Warning: This action is irreversible. Back up data if necessary before clearing.
exitExits HR Helper.
Format: exit
Tip: Use exit only after confirming that all changes have been saved, as the program automatically saves data with each command.
Warning: Exiting abruptly may interrupt ongoing processes. Use the exit command instead of closing the window directly to ensure a clean shutdown.
The Employee Details Window allows HR personnel to view and edit detailed information about each employee efficiently. This guide provides a concise overview of how to use this feature effectively.
Enter key to open the Employee Details Window.Editing Information
Modify Fields:
Enter on keyboard on any text field (e.g., Name, Phone) to edit the information.space bar to toggle the favorite status.Navigate Between Fields:
↓): Move to the next field.↑): Move to the previous field.Save Changes:
Enter key to save all modifications.Cancel Changes:
Esc key to discard all changes and close the window without saving.Validation and Error Handling
Mandatory Fields:
Format Requirements:
example@domain.com).Error Messages:
HR Helper data are saved in the hard disk automatically after any command that changes the data. There is no need to save manually.
HR Helper 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.
Warning: If your changes to the data file makes its format invalid, HR Helper 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 HR Helper 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.
HR Helper data can be exported as a csv.
Format: DRIVE:/PATH/TO/FILE.csv
Examples: C:/files/data/people.csv E:/fakefolder/hr.csv D:/data.csv
| Action | Format | Examples |
|---|---|---|
| Add | add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [t/TAG]… | e.g. add n/James Ho p/22224444 e/jamesho@example.com a/123, Clementi Rd, 1234665 t/friend t/colleague |
| Clear | clear | |
| Count | count: counts entire employee listcount tag/TAG: counts people in given tag | e.g. count tag/Colleagues |
| Delete | delete INDEX | e.g. delete 3 |
| Edit | edit INDEX [n/NAME] [p/PHONE_NUMBER] [e/EMAIL] [a/ADDRESS] [t/TAG]… | e.g. edit 2 n/James Lee e/jameslee@example.com |
| Favorite | favorite INDEX | e.g. favorite 3 |
| Find | find KEYWORD [MORE_KEYWORDS] | e.g. find James Jake |
| Help | help | |
| List | list | |
| Sort | sort TAG | e.g. sort managers |
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 HR Helper home folder.
preferences.json file created by the application before running the application again.help command (or use the Help menu, or the keyboard shortcut F1) 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.count command, follow the convention of tag/TAG and name/NAME, rather than the t/TAG and n/NAME used for other commands. Do be careful of this inconsistency.