By: Team W12-4
Since: Aug 2018
Licence: MIT
- 1. Introduction
- 2. Quick Start
- 3. Features
- 3.1. Viewing help :
help
- 3.2. Adding a student:
add
- 3.3. Listing all students :
list
- 3.4. Locating students by name :
find
- 3.5. Clearing all entries :
clear
- 3.6. Deleting a student :
delete
- 3.7. Selecting a student :
select
- 3.8. Adding a profile photo :
addphoto
- 3.9. Deleting a student’s photo:
deleteProfilePhoto
- 3.10. Undoing previous command :
undo
- 3.11. Redoing the previously undone command :
redo
- 3.12. Exiting the program :
exit
- 3.13. Mark a student’s attendance as present:
attend
- 3.14. Mark a student’s attendance as absent:
unattend
{Coming in v1.4} - 3.15. Sort the student list:
sort
- 3.16. Add an assignment:
addAssignment
- 3.17. Delete an assignment:
deleteAssignment
- 3.18. Edit an assignment:
editAssignment
- 3.19. Sort all assignment:
sortAssignment
- 3.20. Record a mark for a student:
markAssignment
- 3.21. Display the statistics for an assignment:
assignmentStats
- 3.22. Display the statistics for an assignment:
classStats
- 3.23. Editing a student:
edit
- 3.24. Viewing command history :
history
- 3.25. Add a note about a student :
note
- 3.26. Delete a student’s note :
delnote
- 3.27. Edits the note of a student :
editnote
- 3.1. Viewing help :
- 4. Command Summary
EazyTutors is an application for tutors or teachers who prefer a virtual way to record students’ attendance. It also boasts extra features to check on students’ progress and helps users customise their teaching to students with different capabilities. EazyTutors is optimized for those who prefer to work with a Command Line Interface (CLI) while still having the benefits of a Graphical User Interface (GUI). You won’t need to bring around attendance sheets anymore with EazyTutors! Interested? Jump to Section 2, “Quick Start” to get started. Enjoy!
-
Ensure that you have Java version
9
or later installed in your Computer. -
Copy the file to the folder you want to use as the home folder for EazyTutors.
-
Double-click the file to start the app. The GUI should appear in a few seconds.
-
Type the command in the command box and press Enter to execute it.
e.g. typinghelp
and pressing Enter will open the help window. -
Some example commands you can try:
-
add
n/John Doe p/999 e/police@hotmail.com t/cops
: Adds a contact namedJohn Doe
to the student list -
select
1
: views the details of the 1st student shown in the student list -
delete
3
: deletes the 3rd student shown in the student list -
exit
: exits the app
-
-
Refer to Section 3, “Features” for details of each command.
Command Format
-
Words in
UPPER_CASE
are the parameters to be supplied by the user e.g. inadd n/NAME
,NAME
is a parameter which can be used asadd n/John Doe
. -
Items in square brackets are optional e.g
n/NAME [t/TAG]
can be used asn/John Doe t/friend
or asn/John Doe
. -
Items with
…
after them can be used multiple times including zero times e.g.[t/TAG]…
can be used ast/friend
,t/friend t/family
etc. -
Parameters can be in any order if all the parameters have prefixes e.g. if the command specifies
n/NAME p/PHONE_NUMBER
,p/PHONE_NUMBER n/NAME
is also acceptable.
Adds a student at INDEX with a compulsory name. The other information (index at list to add him to,
phone number, email and tags) is optional.
Format: add n/NAME [p/PHONE_NUMBER e/EMAIL a/ADDRESS s/INDEX t/TAG…]
💡
|
Students are added to the bottom of the student list by default.
A student can have multiple tags (or none).
Whitespace between different parameters do not affect the result, such as between s/1 and n/John Doe .
|
Examples:
-
add n/John Doe p/98765432 e/johnd@example.com t/CS2103
(Added to the bottom of the student list as index not specified) -
add n/Betsy Crowe s/1 e/betsycrowe@example.com t/CS2103T
(The order of the parameters can be swapped around as all parameters have prefixes)
Finds students whose names contain any of the given keywords. Format: find KEYWORD [MORE KEYWORDS]
-
The search is case insensitive. e.g.
hans
will matchHans
-
The order of the keywords does not matter. e.g.
Hans Bo
will matchBo Hans
-
Only the name is searched.
-
Only full words will be matched e.g.
Han
will not matchHans
-
Persons matching at least one keyword will be returned (i.e.
OR
search) e.g.Hans Bo
will returnHans Gruber
,Bo Yang
Examples:
-
find John
Returnsjohn
andJohn Doe
-
find Betsy Tim John
Returns any person having namesBetsy
,Tim
, orJohn
Deletes a student from the student list.
Format: delete INDEX
-
There can be any number of spaces between
delete
andINDEX
.
-
Deletes the student at the specified
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:
-
delete 2
Deletes the 2nd person in the student list.
Selects the student identified by the index number used in the displayed student list.
Format: select INDEX
-
Selects the student and loads the Google search page the student at the specified
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:
-
list
select 2
Selects the 2nd student in the student list. -
find Betsy
select 1
Selects the 1st student in the results of thefind
command.
Adds a profile photo to a student
Format: addphoto INDEX f/FILENAME
-
Adds a photo at location
FILENAME
to person at the specifiedINDEX
. The index refers to the index number shown in the last person listing. The index must be a positive integer 1, 2, 3, … -
FILENAME
must point to a valid image file.
Examples:
-
addphoto 1 f/C://Users/Zackk95/Pictures/zacharytan.jpg
Edits the profile photo of the 1st person to be the picture at C://Users//Zackk95//Pictures//zacharytan.jpg
Delete a student’s photo and sets it to the default photo.
Format: deleteProfilePhoto INDEX
-
Will delete a student’s photo and set it to the default photo.
-
This command is irreversible!
Examples:
-
deleteProfilePhoto 1
Delete the photo of the person at index 1 and set it to the default photo.
Restores the student list to the state before the previous undoable command was executed.
Format: undo
ℹ️
|
Undoable commands: those commands that modify the student list’s content ( |
Examples:
-
delete 1
select 2
undo
(reverses thedelete 1
command) -
results
select 1
undo
Theundo
command fails as there are no undoable commands executed previously. -
delete 1
clear
undo
(reverses theclear
command)
undo
(reverses thedelete 1
command)
Reverses the most recent undo
command only if the last command is undo
.
Format: redo
Examples:
-
delete 1
undo
(reverses thedelete 1
command)
redo
(reapplies thedelete 1
command) -
delete 1
redo
Theredo
command fails as there are noundo
commands executed previously. -
delete 1
clear
undo
(reverses theclear
command)
undo
(reverses thedelete 1
command)
redo
(reapplies thedelete 1
command)
redo
(reapplies theclear
command)
Records the attendance of a student as present for a specified class.
Format: attend INDEX at/CLASSNAME
Records the attendance of a student as absent for a specified class.
Format: unattend INDEX at/CLASSNAME
Adds an assignment with given assignment name, weight, deadline, maximum mark.
Format: addAssignment n/ASSIGNMENTNAME w/WEIGHT d/DEADLINE m/MAX_MARK
Delete an assignment with given assignment index.
Format: deleteAssignment INDEX
Edit an existing assignment with specified informations.
Format: editAssignment INDEX [n/ASSIGNMENTNAME] [w/WEIGHT] [d/DEADLINE] [m/MAX_MARK]
Adds a mark for an assignment associated with a student given the mark obtained. Can mark more than maxMark in case of bonus score.
Format: markAssignment INDEX id/ASSIGNMENT_INDEX m/MARK
Display the statistics for the specified assignment.
Format: assignmentStats INDEX
Display the statistics for the overall grades of students.
Format: classStats
Edits an existing student in the student list.
Format: edit INDEX [n/NAME] [p/PHONE] [e/EMAIL] [t/TAG]…
-
Edits the person at the specified
INDEX
. The index refers to the index number shown in the displayed student list. The index must be a positive integer 1, 2, 3, … -
At least one of the optional fields must be provided.
-
Existing values will be updated to the input values.
-
When editing tags, the existing tags of the person will be removed i.e adding of tags is not cumulative.
-
You can remove all the person’s tags by typing
t/
without specifying any tags after it.
Examples:
-
edit 1 p/91234567 e/johndoe@example.com
Edits the phone number and email address of the 1st person to be91234567
andjohndoe@example.com
respectively. -
edit 2 n/Betsy Crower t/
Edits the name of the 2nd person to beBetsy Crower
and clears all existing tags.
Lists all the commands that you have entered in reverse chronological order.
Format: history
Attaches a note with TEXT
to a student in the student list specified by his/her INDEX
.
Format: note INDEX TEXT
-
Any added note is automatically ended with a full stop unless the input
TEXT
ends with either.
,!
or?
. -
If a note is added to a student who already has a previous note, the previous note is changed to end with a comma before the new text is appended to the back.
ℹ️
|
TEXT should not begin with a whitespace but alphanumeric and special characters are allowed.
|
Examples:
-
note 1 hardworking student
(Adds the texthardworking student.
to the student at index 1)
note 1 motivated too!
(Note for student at index 1 is nowhardworking student, motivated too!
)
Deletes the corresponding note of the student at the specified INDEX
.
Format: delnote INDEX
-
There can be any number of spaces between
delnote
andINDEX
.
ℹ️
|
An empty note cannot be deleted! |
Examples:
-
delnote 2
(Deletes the note of the 2nd student shown, is invalid if there is less than 2 students in the shown student list.)
Edits the corresponding note of the student at the specified INDEX
to TEXT
. Refer to Section 3.25, “Add a note about a student : note
” for details on TEXT
.
Format: editnote INDEX TEXT
ℹ️
|
An empty note cannot be edited! |
Examples:
-
note 1 check finals mark addition
(Note is now:check finals mark addition.
note 1 check midterms also?
(Note is now:check finals mark addition, check midterms also?
)
editnote marks checked.
(Note is now:marks checked.
)
delnote 1
(Note deleted and reset to default<No note added>
)
ℹ️
|
Pressing the ↑ and ↓ arrows will display the previous and next input respectively in the command box. |
-
Add :
add n/NAME [s/INDEX p/PHONE_NUMBER e/EMAIL t/TAG]…
e.g.add n/James Ho s/1 p/22224444 e/jamesho@example.com t/friend t/colleague
-
AddAssignment :
addAssignment n/NAME w/WEIGHT d/DEADLINE m/MAX_MARK
e.g.addAssignment n/Assignment 1 w/15 d/14/10/2019 m/100
-
AssignmentStats :
assignmentStats INDEX
e.g.assignmentStats 1
-
Attend :
attend INDEX at/CLASSNAME
e.g.attend 1 at/Tutorial 1
-
ClassStats :
classStats
-
Clear :
clear
-
Delete :
delete INDEX
e.g.delete 3
-
DeleteAssignment :
deleteAssignment INDEX
e.g.deleteAssignment 3
-
Delnote :
delnote INDEX
e.g.delnote 2
-
Edit :
edit INDEX [n/NAME] [p/PHONE_NUMBER] [e/EMAIL] [t/TAG]…
e.g.edit 2 n/James Lee e/jameslee@example.com
-
EditAssignment :
editAssignment INDEX [n/NAME] [w/WEIGHT] [d/DEADLINE] [m/MAXMARK]
e.g.edit 2 n/Assignment3 w/40
-
Editnote :
editnote INDEX TEXT
e.g.editnote 1 Consult changed to 3pm
-
Exit :
exit
-
Find :
find KEYWORD [MORE_KEYWORDS] e.g. `find James Jake
-
Help :
help
-
History :
history
-
List :
list
-
MarkAssignment :
markAssignment INDEX id/ASSIGNMENT_INDEX m/MARK
e.g.markAssignment 1 id/1 m/53
-
Note :
note INDEX TEXT
e.g.note 4 Good student
-
Redo :
redo
-
Select :
select INDEX
e.g.select 2
-
Sort :
sort
-
SortAssignment :
sortAssignment
-
Unattend :
unattend INDEX at/CLASSNAME
{Coming in v1.4} -
Undo :
undo