-
Notifications
You must be signed in to change notification settings - Fork 0
Description
It doesn't seem out of the ordinary for a grader to have multiple assignment to get through for each student and then to hand back. Why not hand all available graded assignments to each student in a single email?
Move the roster.txt input to an option, --roster,-r and then the default arguments to the program will be assignment name and the combined PDF for it. These pairs will continue for as many assignments as there are. A grader will just have to be aware to change their email template.txt.
java -jar assignment-return.jar --roster /path/to/roster.txt "Assignment_Title" /path/to/combined.pdf [["Another_Assignment_Title" /path/to/another_combined.pdf] ...]The reserved ASSIGNMENT variable for the individual PDF naming and the email template will also need to accept an integer argument to indicate which assignment title to interpolate. The default might just be the first assignment listed; which would also be good for backwards compatibility.