Ensure you have Java 17 or above installed in your Computer.
Mac users: Ensure you have the precise JDK version prescribed here.
Download the latest .jar file from here.
Copy the file to the folder you want to use as the home folder for Mentorstack.
Open a command terminal, cd into the folder you put the jar file in, and use the java -jar mentorstack.jar command 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 help and pressing Enter will open the help window.
Some example commands you can try:
list : Lists all contacts.
add n/John Doe g/M p/98765432 e/johnd@example.com s/CS2103 : Adds a contact named John Doe to the Mentorstack.
delete 3 : Deletes the 3rd contact shown in the current list.
clear : Deletes all contacts.
exit : Exits the app.
Refer to the Features below for details of each command.
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] [s/SUBJECT] can be used as n/John Doe s/CS2103 or as n/John Doe or as s/CS2103.
Items with … after them can be used multiple times.
e.g. [s/SUBJECT]… can be used as s/CS2103, s/CS2103 s/LAJ1201 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.
except for view where one filter-value pair is treated as one parameter e.g. view f/s v/CS f/n v/al is equivalent to view f/n v/al f/s v/CS
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.
Notes about fields in Mentorstack:
Name
Gender
Phone
Subject
Notes about student entries in Mentorstack:
Alex Yeoh is a duplicate of Alex Yeoh, but is a different entry from alex yeoh.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.
helpShows a message explaning how to access the help page.
Format: help
addAdds a student to the address book.
Format: add n/NAME g/GENDER p/PHONE_NUMBER e/EMAIL s/SUBJECT…
Tip: A student can have any number of subjects (> 0).
A student can only have F or M as gender inputs.
Examples:
add n/John Doe g/M p/98765432 e/johnd@example.com s/CS2103add n/Betsy Crowe g/F s/CS2103 e/betsycrowe@example.com p/1234567 s/LAJ1201listShows a list of all students in the address book.
Format: list
editEdits an existing student in the address book.
Format: edit INDEX [n/NAME] [g/GENDER] [p/PHONE] [e/EMAIL] [s/SUBJECT]…
INDEX. The index refers to the index number shown in the displayed student list. The index must be a positive integer 1, 2, 3, …Examples:
edit 1 p/91234567 e/johndoe@example.com Edits the phone number and email address of the 1st student to be 91234567 and johndoe@example.com respectively.edit 2 n/Betsy Crower s/CS2103 Edits the name of the 2nd student to be Betsy Crower and changes their subjects to only CS2103.findFinds students whose names contain any of the given keywords.
Format: find KEYWORD [MORE_KEYWORDS]
hans will match HansHans Bo will match Bo HansHan will match HansOR search).
e.g. Hans Bo will return Hans Gruber, Bo YangExamples:
viewFilters students based on values specified for different fields.
Format: view [[f/FIELD] [v/VALUE]]…
FIELD. Use keys to refer to the corresponding field (i.e. f/n refers to NAME).| Key | Field |
|---|---|
n | NAME, filters entries containing VALUE |
g | GENDER, filters entries containing VALUE |
p | PHONE, filters entries containing VALUE |
e | EMAIL, filters entries containing VALUE |
s | SUBJECT, filters entries containing VALUE |
a | ARCHIVED, filters entries by archived status (t for archived, any other value for non-archived) |
Han will match Hans, CS will match CS2103123 will match 12345678, john will match john@doe.comview with no arguments will just list all students.view will also list all students when given invalid format e.g.view 123 or number of filters does not match number of values e.g. f/n f/n f/n v/bob.view returns error message Invalid filter type or value. if the format is correct but there are some invalid filters or values.view can have multiple filters applied for any field (can be the same field) e.g. view f/n v/bob f/n v/jes.AND search).f/ will match first instance of v/)Examples:
view f/n v/john returns john and John Doe.
view f/s v/CS returns all entries taking CS courses.
view f/p v/12345678 f/e v/john@doe.com returns only entries partially containing PHONE AND EMAIL.
view f/a v/ returns all unarchived entries
view f/a f/n f/n f/n v/ returns all entries since number of values does not match number of filters
view f/abcde v/ returns Invalid filter type or value. as it is in the correct format but the filter is invalid
deleteDeletes the specified student from the Mentorstack.
Format: delete INDEX…
INDEX.Examples:
list followed by delete 2 deletes the 2nd student in Mentorstack.find Bernice followed by delete 1 deletes the 1st student in the results of the find command.list followed by delete 2 3 deletes the 2nd and 3rd student in Mentorstack.clearClears all entries from Mentorstack.
Format: clear
undoarchive command can be undone, but the view command cannot.Format: undo
statsFormat: stats [s/SUBJECT]
Examples:
stats shows the gender-based statistics of Mentorstack.stats s/CS2103 shows the statistics of students currently enrolled in CS2103.markFormat: mark INDEX…
Examples:
list followed by mark 1 3 marks the 1st and 3rd student in the current list.unmarkFormat: unmark INDEX…
Examples:
list followed by unmark 1 3 unmarks the 1st and 3rd student in the current list.archiveFormat: archive INDEX…
Examples:
list followed by archive 1 3 archives the 1st and 3rd student in the current list.showarchiveshowarchive 1 will be treated same as showarchive)Format: showarchive
unarchiveFormat: unarchive INDEX…
Examples:
showarchive followed by unarchive 1 3 unarchives the 1st and 3rd student in the archived list.finishFormat: finish INDEX s/SUBJECT…
Examples:
finish 2 s/CS2103 marks CS2103 as completed by student 2.unfinishfinishFormat: unfinish INDEX s/SUBJECT…
Examples:
unfinish 2 s/CS2103 marks CS2103 as not completed by student 2.exitExits the program.
Format: exit
Mentorstack provides 3 visual themes to suit your preferences. You can change the theme by navigating to the View menu.
| Number | Theme |
|---|---|
| 1 | Dark |
| 2 | Pink |
| 3 | Light |
Mentorstack will always launch the Dark theme by default.
Mentorstack provides users with the option to view the number of students enrolled in each subject in the current active list as a bar chart. Users may view these statistics by navigating to the View menu.
Mentorstack data are saved in the hard disk automatically after any command that changes the data. There is no need to save manually.
Mentorstack data are saved automatically as a JSON file [JAR file location]/data/mentorstack.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, Mentorstack 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 Mentorstack 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.
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 Mentorstack 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.| Action | Format, Examples |
|---|---|
| Add | add n/NAME g/GENDER p/PHONE_NUMBER e/EMAIL s/SUBJECT… e.g., add n/James Ho g/M p/22224444 e/jamesho@example.com s/CS2103 s/LAJ1201 |
| Clear | clear |
| Delete | delete INDEX..e.g., delete 1 3 |
| Edit | edit INDEX [n/NAME] [g/GENDER] [p/PHONE_NUMBER] [e/EMAIL] [s/SUBJECT]…e.g., edit 2 n/James Lee e/jameslee@example.com |
| Find | find KEYWORD [MORE_KEYWORDS]e.g., find James Jake |
| List | list |
| View | view [[f/FIELD] [v/VALUE]]…e.g., view f/n v/john f/s v/CS |
| Undo | undo |
| Stats | stats [s/SUBJECT]e.g., stats s/CS2103 |
| Mark | mark INDEX…e.g., mark 2 |
| Unmark | unmark INDEX…e.g., unmark 2 |
| Archive | archive INDEX…e.g., archive 2 |
| Showarchive | showarchive |
| Unarchive | unarchive INDEX…e.g., unarchive 2 |
| Finish | finish INDEX s/SUBJECT…e.g., finish 2 s/CS2103 |
| Unfinish | unfinish INDEX s/SUBJECT…e.g., unfinish 2 s/CS2103 |
| Exit | exit |
| Help | help |