By: CS2103T T16-2 Since: September 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. Listing all tutorial groups:
list-tutorial-groups - 3.5. Editing a student :
edit - 3.6. Locating students by keywords:
find - 3.7. Deleting a student :
delete - 3.8. Selecting a student :
select - 3.9. Viewing a student’s information:
view - 3.10. Creating a Tutorial Group:
create-tutorial-group - 3.11. Deleting a Tutorial Group:
delete-tutorial-group - 3.12. View Tutorial Group:
view-tutorial-group - 3.13. Add to Tutorial Group:
add-to-tutorial-group - 3.14. Remove from Tutorial Group:
remove-from-tutorial-group - 3.15. Create Attendance:
create-attendance - 3.16. Mark Attendance:
mark-attendance - 3.17. Creating an Assignment:
create-assignment - 3.18. Deleting an Assignment:
delete-assignment - 3.19. Grade Assignment for Student:
grade - 3.20. View Assignment Details:
view-assignment - 3.21. Feedback to Student:
feedback - 3.22. Listing entered commands :
history - 3.23. Undoing previous command :
undo - 3.24. Clearing all entries :
clear - 3.25. Exiting the program :
exit - 3.26. Filter by Tutorial Group:
filter - 3.27. Sort by assignment grade:
sort - 3.28. Saving the data
- 3.1. Viewing help :
- 4. FAQ
- 5. Command Summary
SuperTA is a desktop app for Teaching Assistants and Professors of NUS School of Computing to manage their tutorials and students. It 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). Jump to Section 2, “Quick Start” section to get started. Enjoy!
-
Ensure you have Java version
9or later installed in your Computer. -
Download the latest
superTA.jarhere. -
Copy the file to the folder you want to use as the home folder for your SuperTA client.
-
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. typinghelpand pressing Enter will open the help window. -
Some example commands you can try:
-
list: lists all students in the directory -
add n/John Doe p/98765432 e/johnd@example.com id/A0123456Y: adds a student namedJohn Doeto the student directory. -
delete 3: shows the 3rd contact in the current list that was deleted -
exit: exits the app
-
-
Refer to Section 3, “Features” for details of each command.
Command Format
-
Words in
UPPER_CASEare the parameters to be supplied by the user e.g. inadd n/NAME,NAMEis 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/friendor asn/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/familyetc. -
Parameters can be in any order e.g. if the command specifies
n/NAME p/PHONE_NUMBER,p/PHONE_NUMBER n/NAMEis also acceptable.
Adds a student to the directory
Format: add n/NAME p/PHONE_NUMBER e/EMAIL id/STUDENT_ID [t/TAG]…
|
💡
|
A student can have any number of tags (including 0) |
Examples:
-
add n/John Doe p/98765432 e/johnd@example.com id/A0123456Y -
add n/Betsy Crowe t/friend e/betsycrowe@example.com p/1234567 id/A1234567T tag/needs-help
Shows a list of all the tutorial groups, and reflects it on the UI.
Format: list-tutorial-groups
Edits an existing student in the directory.
Format: edit INDEX [n/NAME] [p/PHONE] [e/EMAIL] [id/STUDENT_ID] [t/TAG]…
-
Edits 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, … -
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 student will be removed i.e adding of tags is not cumulative.
-
You can remove all the student’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 student to be91234567andjohndoe@example.comrespectively. -
edit 2 n/Betsy Crower t/
Edits the name of the 2nd student to beBetsy Crowerand clears all existing tags.
Finds and lists all students in the SuperTA client whose information matched with the entered keywords.
Format: find [n/NAME] [p/PHONE] [e/EMAIL] [id/STUDENT_ID]
-
The search is case insensitive. e.g
hanswill matchHans -
The order of the keywords does not matter. e.g.
Hans Bowill matchBo Hans -
Only full words or numbers will be matched e.g.
Hanwill not matchHans,9123will not match91234567 -
Persons matching at least one keyword will be returned (i.e.
ORsearch). e.g.find n/John p/91234567will returnJohnand anybody with phone number91234567 -
If there are more than one exact same parameter in the command, only the latest parameter will be taken. E.g.
find n/John n/Alicewill only return search result ofAlice, notJohn.
Examples:
-
find n/John
ReturnsjohnandJohn Doe -
find p/91234567
Returns student with phone number91234567 -
find n/John id/A0123456T
ReturnsjohnandJohn Doeand student with student idA0123456T -
find n/Alice n/Hans
ReturnsHansonly
Deletes the specified student from the directory.
Format: delete INDEX
-
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:
-
list
delete 2
Deletes the 2nd student in the directory. -
find Betsy
delete 1
Deletes the 1st student in the results of thefindcommand.
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 list. -
find Betsy
select 1
Selects the 1st student in the results of thefindcommand.
Views a student’s information and any feedback that is left for him.
Format: view id/STUDENT_ID
Examples:
-
view id/A0166733Y
Views the information of the student with the ID A0166733Y.
Creates a tutorial group with an identifier.
Format: create-tutorial-group n/NAME id/TUTORIAL-GROUP-ID
-
If there is already a tutorial group with the same identifier, the identifier will have a random suffix appended to it.
Examples:
-
create-tutorial-group n/CS1101S Studio 04A id/04a
Creates a tutorial group namedCS1101S Studio 04Awith the identifier04a. -
create-tutorial-group n/CS2103T id/04b
create-tutorial-group n/CS2103T id/04b
Creates a tutorial group named CS2103T with the identifier 04b and a second tutorial group with the same name and identifier 04b-dusty123.
Deletes an existing tutorial group with an identifier.
Format: delete-tutorial-group id/TUTORIAL_GROUP_ID
Examples:
-
delete-tutorial-group id/04a
Deletes a tutorial group with the identifier04a.
Views a tutorial group’s details.
Format: view-tutorial-group id/TUTORIAL_GROUP_ID
Examples:
-
view-tutorial-group id/04a
Displays the04atutorial group’s information .
Adds a student to a tutorial group.
Format: add-to-tutorial-group tg/TUTORIAL_GROUP_ID st/STUDENT_ID
Examples:
-
add-to-tutorial-group tg/04a st/A1231231Y
Adds the student with student IDsA1231231Yto the tutorial group with an ID of04a.
Removes a student from a tutorial group.
Format: remove-from-tutorial-group tg/TUTORIAL_GROUP_ID st/STUDENT_ID
Examples:
-
remove-from-tutorial-group tg/1 st/A1231231Y
Removes the student with student IDA1231231Yfrom the tutorial group with an ID of1.
Creates an attendance listing for a specific tutorial group, identified by its ID.
Format: create-attendance tg/TUTORIAL_GROUP_ID n/NAME
Examples:
-
create-attendance tg/1 n/W4 Tutorial
Creates an attendance namedW4 Tutorialfor the tutorial group with an ID of1.
Marks attendance for students from a specific tutorial group and session name, identified by its ID and name.
Format: mark-attendance tg/TUTORIAL_GROUP_ID n/NAME st/STUDENT_ID …
Examples:
-
mark-attendance tg/1 n/W4 Tutorial st/A1234567T st/A0123456YMarks students with IDsA1234567TandA0123456Yas present in tutorial session namedW4 Tutorialfor the tutorial group with an ID of1.
Creates an assignment for a specific tutorial group.
Format: create-assignment tg/TUTORIAL_GROUP_ID n/ASSIGNMENT_NAME m/MAX_MARKS
-
In future commands, assignments are referenced to by its name.
Examples:
-
create-assignment tg/04a n/lab1 m/40
Creates an assignment namedlab1for the tutorial group with an ID of04a, with the maximum marks for this assignment as40.
Deletes an existing assignment for a specific tutorial group.
Format: delete-assignment as/ASSIGNMENT_NAME tg/TUTORIAL_GROUP_ID
Examples:
-
delete-assignment as/lab1 tg/04a
Deletes an assignment named 'lab1' from the tutorial group with an ID of '04a'.
Enters a grade for a student for a specific assignment, identified by its ID.
Format: grade tg/TUTORIAL_GROUP_ID as/ASSIGNMENT_NAME st/STUDENT_ID m/MARKS
Examples:
-
grade tg/04a as/lab1 st/A0166733Y m/40
Creates a grade with marks40for the student with an ID ofA0166733Yin the tutorial group04afor the assignment with IDlab1.
Views an assignment details.
Format: view-assignment tg/TUTORIAL_GROUP_ID as/ASSIGNMENT_NAME
Examples:
-
view-assignment tg/04a as/lab1
Views the assignment details for thelab1assignment in the04atutorial group.
Adds feedback to a student with a specified Student ID.
Format: feedback id/STUDENT_ID f/FEEDBACK
Examples:
-
feedback id/A1234566T f/Is generally attentive during class. However, needs to speak up more.
Adds the given feedbackIs generally attentive during class. However, needs to speak up more.to the student with Student IDA1234566T.
Lists all the commands that you have entered in reverse chronological order.
Format: history
|
ℹ️
|
Pressing the ↑ and ↓ arrows will display the previous and next input respectively in the command box. |
Restores the client to the state before the previous undoable command was executed.
Format: undo
|
ℹ️
|
Undoable commands: those commands that modify the client’s content. |
Examples:
-
delete 1
list
undo(reverses thedelete 1command) -
select 1
list
undo
Theundocommand fails as there are no undoable commands executed previously. -
delete 1
clear
undo(reverses theclearcommand)
undo(reverses thedelete 1command)
=== Redoing the previously undone command :redo
Reverses the most recent undo command.
Format: redo
Examples:
-
delete 1
undo(reverses thedelete 1command)
redo(reapplies thedelete 1command) -
delete 1
redo
Theredocommand fails as there are noundocommands executed previously. -
delete 1
clear
undo(reverses theclearcommand)
undo(reverses thedelete 1command)
redo(reapplies thedelete 1command)
redo(reapplies theclearcommand)
|
ℹ️
|
Coming in 2.0 |
Filters students by a specific tutorial group ID.
Format: filter tg/TUTORIAL_GROUP_ID
Examples:
-
filter tg/1
Shows a list of all the students in the tutorial group with an ID of1.
|
ℹ️
|
Coming in v2.0 |
Sorts students in order of their grade for a particular assignment.
Format: sort tg/TUTORIAL_GROUP_ID a/ASSIGNMENT_ID
Examples:
-
sort tg/1 a/1Displays a list of students in tutorial group1by their grade on assignment1.
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 Address Book folder.
-
Help :
help -
Add
add n/NAME p/PHONE_NUMBER e/EMAIL id/STUDENT_ID [t/TAG]…
e.g.add n/James Ho p/22224444 e/jamesho@example.com id/A0123456Y t/needs-help t/on-loa -
List :
list -
List Tutorial Groups :
list-tutorial-groups -
Edit :
edit INDEX [n/NAME] [p/PHONE_NUMBER] [e/EMAIL] [id/STUDENT_ID] [t/TAG]…
e.g.edit 2 n/James Lee e/jameslee@example.com -
Find :
find [type/KEYWORD] [type/MORE_KEYWORDS]
e.g.find n/John,find id/A0166733Y n/John -
Delete :
delete INDEX
e.g.delete 3 -
Select :
select INDEX
e.g.select 2 -
View Feedback:
view id/STUDENT_ID
e.g.view id/A0166733Y -
Create Tutorial Group:
create-tutorial-group n/NAME id/TUTORIAL_GROUP_ID
e.g.create-tutorial-group n/CS1101S Studio 04A id/04a -
Delete Tutorial Group:
delete-tutorial-group id/TUTORIAL_GROUP_ID
e.g.delete-tutorial-group id/04a -
Add Student to Tutorial Group:
add-to-tutorial-group tg/TUTORIAL_GROUP_ID st/STUDENT_ID
e.g.add-to-tutorial-group tg/04a st/A0166733Y -
Remove Student from Tutorial Group:
remove-from-tutorial-group tg/TUTORIAL_GROUP_ID st/STUDENT_ID
e.g.remove-from-tutorial-group tg/04a st/A0166733Y -
Create Attendance:
create-attendance tg/[TUTORIAL_GROUP_ID] n/[NAME]
e.g.create-attendance tg/1 n/W4 Tutorial -
Mark Attendance:
mark-attendance tg/TUTORIAL_GROUP_ID n/NAME st/STUDENT_ID …
e.g.mark-attendance tg/1 n/W4 Tutorial st/A1234567T st/A0123456Y -
Create Assignment:
create-assignment tg/TUTORIAL_GROUP_ID n/ASSIGNMENT_NAME m/MAX_MARKS
e.g.create-assignment tg/04a n/lab1 m/40 -
Delete Assignment:
delete-assignment as/ASSIGNMENT_TITLE tg/TUTORIAL_GROUP_ID
e.g.delete-assignment as/lab1 tg/04a -
Grade Assignment:
grade tg/TUTORIAL_GROUP_ID as/ASSIGNMENT_NAME st/STUDENT_ID m/MARKS
e.g.grade tg/04a as/lab1 st/A0166733Y m/30 -
View Assignment Details:
view-assignment tg/TUTORIAL_GROUP_ID as/ASSIGNMENT_NAME
e.g.view-assignment tg/04a as/lab1 -
Feedback:
feedback id/[STUDENT_ID] f/[FEEDBACK]
e.g.feedback id/A0166733Y f/Likes to sleep in class -
History :
history -
Undo :
undo -
Redo :
redo -
Clear :
clear
