VolunTier is a top Tier solution for volunteer organizations specializing in teaching students and managing a growing clientele efficiently. Designed for those comfortable with the Command Line Interface (CLI) and quick typing, VolunTier is ideal for Singapore-based users with extensive tutor and tutee data to manage across three subjects. It streamlines the process of adding, editing, and deleting records for volunteers, students, and shared lessons.
Tutor and Tutees can both be referred to as Person.
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 VolunTier app.
Open a command terminal, cd
into the folder you put the jar file in, and use the java -jar VolunTier.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.
addTutor \n John Doe \p 98765432 \e johndoe@example.com \a 311, Clementi Ave 2, 123456 \h 6
: Adds a tutor named John Doe
with the phone number 98765432
, email johndoe@example.com
, residing at 311, Clementi Ave 2, 123456
, and records 6
hours of tutoring.
delete 3
: Deletes the 3rd contact shown in the current list.
clear
: Deletes all contacts.
exit
: Exits the app.
Skip to Features if you are proficient in CLI.
This tutorial introduces you to the basics of using the Command Line Interface (CLI) on Unix-based systems (Linux/macOS) and Windows. By the end, you’ll be comfortable navigating the file system, managing files, and running basic commands through the terminal.
The CLI is a text-based interface where users interact with the operating system by typing commands. It allows for:
Type Terminal
in Spotlight Search (F4
or Cmd + Space
)
Search for command prompt or Powershell in the start menu.
Ctrl + Alt + T
vtc
command is used.start the app with java -jar VolunTier.jar
after navigating to the folder containing the JAR file.
Notes about the command format:
Words in UPPER_CASE
are the parameters to be supplied by the user.
e.g. in addTutor \n NAME
, NAME
is a parameter which can be used as addTutor \n John Doe
.
Items in square brackets are optional.
e.g \n NAME [\h HOURS]
can be used as \n John Doe \h 10
or as \n John Doe
.
Items with …
after them can be used multiple times including zero times.
e.g. [\s SUBJECT]…
can be used as (i.e. 0 times),
\s English
, \s English \s Math
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
, undo
, redo
, exit
and clear
) will be ignored.
e.g. if the command specifies help 123
, it will be interpreted as help
.
INDEX
refers to the index number shown in the displayed person list.
Index must be a positive integer.
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.
Users who have used VolunTier before can jump to Command Summary
help
Shows the command summary and a message explaining how to access the help page.
Format: help
addTutor
Adds a Tutor to VolunTier.
Format: addTutor \n NAME \p PHONE_NUMBER \e EMAIL \a ADDRESS [\h HOURS] [\s SUBJECT]…
Examples:
addTutor \n Alice Pauline \p 98722342 \e alicep@example.com \a Alice street, block 123, 999888 \s math \s science
addTutor \n John Doe \p 98765432 \e johnd@example.com \a Mingyang street, block 123, 888777 \h 6 \s english
addTutee
Adds a tutee to VolunTier.
Format: addTutee \n NAME \p PHONE_NUMBER \e EMAIL \a ADDRESS [\h HOURS] [\s SUBJECT]…
Tips:
Names can include alphanumeric characters as well as the special characters /
, ,
, '
and -
.
Phone number must be 8 integer digits and start with 8, 9, or 6.
Address must have any text followed by a comma and a 6-digit postal code.
e.g. Tampines, 234678
.
Hours must be a non-negative integer, with a maximum of 876,000 (100 years).
Hours will default to 0 if it is not specified.
A person can have any number of subjects (including 0).
A person cannot be a Tutor and a Tutee at the same time.
addLesson
Adds a lesson in VolunTier between a Tutor and Tutee. A lesson must have a Tutor, a Tutee and a subject.
Format: addLesson TUTOR_INDEX TUTEE_INDEX \s SUBJECT
TUTOR_INDEX
and the Tutee at the specified TUTEE_INDEX
for the specified SUBJECT
.Examples:
addLesson 1 2 \s science
list
Shows a list of all persons in VolunTier.
Format: list
edit
Edits an existing person in VolunTier.
Format: edit INDEX [\n NAME] [\p PHONE_NUMBER] [\e EMAIL] [\a ADDRESS] [\h HOURS] [\s SUBJECT]…
INDEX
.Examples:
edit 2 \p 91234567 \e johndoe@example.com
Edits the phone number and email address of the 1st person to be 91234567
and johndoe@example.com
respectively.edit 3 \n Betsy Crower \s
Edits the name of the 2nd person to be Betsy Crower
and removes all subjects linked.find
Finds persons whose names contain any of the given keywords.
Format: find KEYWORD [MORE_KEYWORDS]
hans
will match Hans
Hans Bo
will match Bo Hans
Han
will not match Hans
OR
search).
e.g. Hans Bo
will return Hans Gruber
, Bo Yang
Examples:
find John
returns john
and John Doe
find alex david
returns Alex Yeoh
, David Li
findSubject
Finds persons who have any of the SUBJECT(s).
Format: findSubject SUBJECT [MORE_SUBJECTS]
math
will match Math
math science
will match science math
mat
will not match math
OR
search).
e.g., math science
will return persons with subjects Math
, Science
, Math and Science
Examples:
findSubject English
returns persons with subjects English
findSubject math english
returns persons with subjects English
, Math
delete
Deletes the specified person from VolunTier.
Format: delete INDEX
INDEX
.Examples:
list
followed by delete 2
deletes the 2nd person in VolunTier.find Betsy
followed by delete 1
deletes the 1st person in the results of the find
command.⚠️ Warning: Deleting a person will permanently remove all lessons associated with them. Ensure you have selected the correct person before proceeding with deletion.
deleteLesson
Deletes the specified lesson from VolunTier.
Format: deleteLesson TUTOR_INDEX TUTEE_INDEX \s SUBJECT
TUTOR_INDEX
and the Tutee at the specified TUTEE_INDEX
for the specified SUBJECT
.Examples:
findSubject Math
followed by deleteLesson 2 5 \s Math
deletes the lesson between the Tutor with index 2 and the Tutee with index 5.view
Displays additional details of a person that might not be shown on their card.
Format: view INDEX
INDEX
.Examples:
list
followed by view 3
displays the details of the 3rd person in the address book.find Lisa
followed by view 1
displays the details of the 1st person in the results of the find
command.undo
Reverses the most recent command executed.
Format: undo
Examples:
undo
will add that person back along with their associated lessons.redo
Reapplies a command that was previously undone.
Format: redo
Examples:
undo
the addition of a new Tutor by mistake, redo
will restore that entry.The undo and redo commands only apply to actions that modify data in the VolunTier address book, such as edit
or addTutor
. Commands that do not alter data, like view
, cannot be undone or redone.
history
Provides a list of commands executed, from the most recent to the earliest.
Format: history
Examples:
addTutee
command instead of addTutor
, history
lets you easily select and copy the previous command, saving you from retyping it.history
will allow you to find out where you left off last.vtc
Generates a chart displaying the total volunteering hours of all volunteer tutors.
Format: vtc
Examples:
vtc
will display a chart with each tutor's name and total hours logged.vtc
will cause all persons to be listed.
clear
Clears all entries from VolunTier.
Format: clear
import
Allows users to import data from a CSV file and add multiple persons at once to the address book. If any rows fail the validation check or contain duplicates, they are skipped, and detailed feedback is provided to the user.
Format: import \f FILEPATH
Example:
import \f ./data/new_persons.csv
imports a list of people in new_persons.csv located in ./data/ into VolunTier.5 persons added. Rows with duplicates: [2, 4]. The following rows had data which failed some constraints: Row 3: Invalid email format. Row 5: Missing phone number.
Import only works for a list of persons. It does not support the lessons feature.
exit
Exits the program.
Format: exit
VolunTier data is saved in the hard disk automatically after any command that changes the data. There is no need to save manually.
VolunTier 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, VolunTier 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 VolunTier 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 AddressBook home folder.
Q: Can I customize the subjects offered in VolunTier?
A: Currently, VolunTier supports only three basic subjects: Math, Science, and English. Custom subjects are not supported, but this feature may be considered in future updates.
Q: Is it possible to export my data from VolunTier?
A: VolunTier currently does not support an export feature directly. However, you can manually copy the addressbook.json file from the data folder and use it as a backup or to transfer data to another instance.
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 Lesson | addLesson TUTOR_INDEX TUTEE_INDEX \s SUBJECT e.g., addLesson 1 2 \s science |
Add Tutor | addTutor \n NAME \p PHONE_NUMBER \e EMAIL \a ADDRESS [\h HOURS] [\s SUBJECT]… e.g., addTutor \n James Ho \p 92224444 \e jamesho@example.com \a 123, Clementi Rd, 123465 \h 7 \s math |
Add Tutee | addTutee \n NAME \p PHONE_NUMBER \e EMAIL \a ADDRESS [\h HOURS] [\s SUBJECT]… e.g., addTutee \n Evan Lee \p 88889999 \e evanlee@example.com \a 345, Clementi Rd, 123465 \h 2 \s english |
Clear | clear |
Delete | delete INDEX e.g., delete 3 |
Delete Lesson | deleteLesson TUTOR_INDEX TUTEE_INDEX \s SUBJECT e.g., deleteLesson 1 2 \s science |
Edit | edit INDEX [\n NAME] [\p PHONE_NUMBER] [\e EMAIL] [\a ADDRESS] [\h HOURS] [\s SUBJECT]… e.g., edit 2 \n James Lee \e jameslee@example.com |
Find | find KEYWORD [MORE_KEYWORDS] e.g., find James Jake |
Find Subject | findSubject SUBJECT [MORE_SUBJECTS] e.g., findSubject math science |
History | history |
Import | import \f FILEPATH |
List | list |
Undo | undo |
Redo | redo |
View | view INDEX e.g., view 2 |
View Tutor Hours | vtc |
Exit | exit |
Help | help |