EduConnect is a desktop app for managing student 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.
help
add
list
edit
find
copy
delete
slots
clear
exit
Ensure you have Java 11
or above installed in your Computer.
Download the latest educonnect-1.4.jar
from here.
Copy the file to the folder you want to use as the home folder for EduConnect.
Open a command terminal, cd
into the folder you put the jar file in, and use the java -jar educonnect-1.4.jar
command to run the application.
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 students.
add n/John Doe s/A1234567X h/@john_doe e/johnd@example.com t/tutorial-1 t/high-ability
: Adds a contact named John Doe
to the Address Book.
delete s/A0001234A
: Deletes the person with the s/STUDENT_ID
unique identifier
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 [t/TAG]
can be used as n/John Doe t/tutorial-1
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/tutorial-1
, t/tutorial-1 t/strong
etc.
Angular brackets <CONDITION>
will inform the user of the optional prefix requirements that is used in the command
e.g <choose 1 only>
[s/STUDENT_ID]
[e/EMAIL]
[h/TELEGRAM_HANDLE]
indicates that only one of these optional prefix must be present in the command
Parameters can be in any order.
e.g. if the command specifies n/NAME s/STUDENT_ID
, s/STUDENT_ID n/NAME
is also acceptable.
Extraneous parameters for commands that do not take in parameters (i.e. exit
and clear
) will be ignored.
e.g. if the command specifies clear 123
, it will be interpreted as clear
.
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.
Notes about unique identifiers:
Unique identifiers are EMAIL
, STUDENT_ID
and TELEGRAM_HANDLE
There can only be one unique identifier at each time. Which means no two students can share the same unique identifiers above.
Notes about timetable, days and periods:
Student's timetables are used for tracking student's unavailable periods.
e.g For MONDAY, schedule is: Period (13:00 to 1500) it means that the student is unavailable on monday 1pm to 3pm.
Commands that involve DAYS
and PERIODS
are add
, edit
and slot
(go to individual commands to see how they are used).
PERIOD
are timings in the day numbered from (0-23), which represents the 24-hour clock.
e.g 1-10
or 10-16
DAYS
and only their corresponding three lettered uncapitalised prefixes are accepted (Weekends are not used).
mon
tue
wed
thu
fri
A valid TIMETABLE
format is written with the three lettered day prefixes followed by a colon and the periods. Separate multiple periods in a day with a comma.
e.g mon: 8-10, 10-12 tue: 8-10 thu: 12-14 fri 16-18, 18-20
add
and edit
commands allow for adding multiple PERIOD
while slot
command does not (go to individual commands for more information).
e.g mon: 8-12, 14-16
An overlapping PERIOD
means that multiple PERIOD
are added for the same day and there is a timing conflict.
e.g wed: 10-12, 11-13
(11-12 is the overlapping period)
Additional notes about other parameters:
NAME
allows for dashes numbers and spaces. However, there cannot be 2 consecutive dashes, spaces or a combination of both.John Doe
, Anne-Marie
, William-The 3rd
TELEGRAM_HANDLE
should start with @
, consists of only alphanumeric characters and underscores_
, have a minimum of 5 characters, and have a minimum of 3 alphanumeric characters.EMAIL
should be of the format local-part@domain
, and adhere to the following constraints:
TAG
must start with an alphanumeric character, should only contain alphanumeric characters, spaces and hyphens, and it should not be blank.WEBLINK
is used for attaching a student's project in Educonnect. The parameter currently accepts any valid website (HTTP or HTTPS) or file transfer protocol (FTP) links, regardless if it is a broken link. If no protocol (https://
or ftp://
) is supplied, the link will default https://
.https://github.com/johndoe/tp
Notes about displaying timetables of students:
By default, timetables of students are not shown.
To show or hide timetables of students, use list
command.
help
Shows a message explaining how to access the help page. This feature ensures that users can easily understand the functionality and syntax of commands without referring to external documentation.
Format: help [COMMAND]
Notes about valid commands:
Valid commands are: add
, list
, edit
, find
, copy
, delete
, slots
, clear
.
Other commands will not be accepted and will lead to a parse error.
If no command is given, a pop-up window showing a brief outline of the commands and a link to the user guide will be given
Examples:
add
Adds a student.
Format: add n/NAME s/STUDENT_ID e/EMAIL h/TELEGRAM_HANDLE [l/WEBLINK] [c/TIMETABLE] [t/TAG]…
Tip: A student can have any number of tags (including 0).
Tip: A student can have its project page linked to its contact.
Tip: A student can have its timetable field left empty, a default empty timetable will be allocated.
Examples:
add n/John Doe s/A1234567X h/@john_doe e/johnd@example.com t/tutorial-1 t/high-ability c/mon: 8-10, 10-12 tue: 11-13 thu: 12-15, 15-17
add n/Anne-Marie Rose Nicholson t/singer t/songwriter e/rockabye@friends.uk h/@AnneMarieofficial s/A7041991U
list
Shows a list of all students with the option to show timetables.
Format: list [timetable]
Tip: The choice of show timetables option will be saved and timetables will remain visible/invisible for subsequent command results. However, the choice will be restored to hiding timetable each time application is relaunched.
Examples:
edit
Edits an existing student.
Format: edit <choose only 1> [i:INDEX] [s:STUDENT_ID] [e:EMAIL] [h:TELEGRAM_HANDLE] <choose 1 or more> [n/NAME] [s/STUDENT_ID] [e/EMAIL] [h/TELEGRAM_HANDLE] [l/WEBLINK] [c/TIMETABLE] [t/TAG]…
i:INDEX
refers to the index number shown in the displayed student list. The index must be a positive integer 1, 2, 3, …t/
without
specifying any tags after it.c/
without specifying anything after it.Examples:
edit i:1 s/A0001234A e/johndoe@example.com
Edits the student id and email address of the 1st student to be A0001234A
and johndoe@example.com
respectively.
edit s:A1234567X n/Betsy Crower t/
Edits the name of the student with a student ID of A1234567X
to be Betsy Crower
and clears all existing tags.edit e:christian@nus.com h/@christan c/
Edits the telegram handle and clears the timetable of the student with an email of christian@nus.com
.edit h:@christan c/mon: 8-10, 10-12 tue: 11-13 thu: 12-15, 15-17
Replaces the timetable of the student with a telegram handle of @christan
with this new one according to
the specifications in the commandedit i:2 l/https://github.com/annemarie/tp
Edits the weblink of the 2nd student to be https://github.com/annemarie/tp
.find
Finds students whose criteria match all the given keywords.
Format: find <choose 1 or more> [n/NAME] [s/STUDENT_ID] [h/TELEGRAM_HANDLE] [t/TAG]…
find n/hans
will match Hans.find n/hans t/tutorial-1
will return the same result as find t/tutorial-1 n/hans
.find t/tutorial-1
will only return those with a tag 'tutorial-1'
(tag 'tutorial-10', 'tutorial-11', etc. will NOT appear in the results).
Examples:
find n/John
returns john and John Doefind e/yahoo
returns Alex Yeoh and David Li (both uses yahoo email)find h/john
returns John Doe and John Lee (telegram handle @johnd and @johnlee respectively)find t/tutorial-1 t/high-ability
returns Samantha (is tagged with BOTH tutorial-1 and high-ability)find n/john t/tutorial-2
returns John Doe (name contains john and is tagged with tutorial-1)
copy
Copy student emails to the clipboard.
Format: copy [t/TAG]…
copy t/tutorial-1
will only return those with a tag 'tutorial-1'
(tag 'tutorial-10', 'tutorial-11', etc. will NOT be copied)example1@email.com, example2@email.com, example3@email.com
and adheres to the format specified in section 3.4 of RFC5322.
Gmail
, Outlook
, Yahoo Mail
, etc.
Examples:
copy
copies all emailscopy t/tutorial-2
copies 3 emails (johnsmith@example.com, irfan@example.com, royb@example.com
all with tutorial-2
tag)copy t/tutorial-2 t/strong-student
copies 1 email (royb@example.com
with both tutorial-2
and strong-student
tag)delete
Deletes a specified student.
Format: delete <choose only 1> [s/STUDENT_ID] [e/EMAIL] [h/TELEGRAM_HANDLE]
STUDENT_ID
or EMAIL
or TELEGRAM_HANDLE
.NAME
or TAG
or TIMETABLE
may not be used.Examples:
delete e/royb@gmail.com
deletes a student with an email of royb@gmail.com
in the address book.delete s/A0001234A
deletes a student with a student id of A0001234A
in the address book.
slots
Format : slots d/DURATION [t/TAG] [p/PERIOD] [o/DAYS]
int
, it can be between 1 - 23, indicating 1-hour to 23-hours, although typically one would use values 1-4.int
s, separated by a -
(see above)."tue"
or "wed"
.Examples:
slots d/1
finds a common available 1-hour time slot among listed students.slots d/2 p/10-18 o/mon, tue, fri
finds a common available 2-hour time slot on monday, tuesday and wednesday among listed students.slots d/1 t/tutorial-1 p/10-16
finds a common available 1-hour time slot for students tagged with tutorial-1
from 10am to 6pm.
clear
Clears all students.
exit
Exits EduConnect.
Format: exit
EduConnect data is saved in the hard disk automatically after any command that changes the data. There is no need to save manually.
EduConnect data is saved automatically as a JSON file [JAR file location]/data/educonnect.json
. Advanced users are welcome to update data directly by editing that data file.
Caution:
If changes to the data file makes its format invalid, EduConnect will discard all data and start with an empty data file at the next run. Hence, it is recommended to create a backup of the file before editing it.
Furthermore, certain edits can cause EduConnect 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.
Details coming soon ...
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.
preferences.json
file created by the application before running the application again.Timetable
, but add
/edit
commands are able to accept the inputs
containing weekends, just that it will be excluded from being stored to the Student
.Action | Format, Examples |
---|---|
Add | add n/NAME s/STUDENT_ID e/EMAIL h/TELEGRAM_HANDLE [l/WEBLINK] [c/TIMETABLE] [t/TAG]… e.g., add n/James Ho s/A2222444X e/jamesho@example.com h/@hohoho t/struggling t/3rd year c/mon: 8-10, 10-12 tue: 11-13 thu: 12-15, 15-17 |
Delete | delete <choose only 1> [s/STUDENT_ID] [e/EMAIL] [h/TELEGRAM_HANDLE] e.g., delete s/A0001234A |
Edit | edit <choose only 1> [i:INDEX] [s:STUDENT_ID] [e:EMAIL] [h:TELEGRAM_HANDLE] <choose 1 or more> [n/NAME] [s/STUDENT_ID] [e/EMAIL] [h/TELEGRAM_HANDLE] [l/WEBLINK] [c/TIMETABLE] [t/TAG]… e.g., edit i:2 n/James Lee e/jameslee@example.com c/mon: 8-10, 10-12 tue: 11-13 thu: 12-15, 15-17 |
Find | find <choose 1 or more> [n/NAME] [s/STUDENT_ID] [h/TELEGRAM_HANDLE] [t/TAG]… e.g., find n/john t/tutorial-2 |
Copy | copy [t/TAG]… e.g., copy t/tutorial-2 |
List | list [timetable] e.g., list list timetable |
Help | help [COMMAND] e.g., help help add |
Slots | slots d/DURATION [t/TAG] [p/PERIOD] [o/DAYS] e.g., slots d/1 t/tutorial-1 p/10-16 |
Clear | clear |
Exit | exit |