Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commands

SnowyCoder edited this page Jan 5, 2017 · 1 revision

Command System

The Verifier has a command system based on the command-api. All the commands are meant to help the server-manager to get log back from server. The commands are:


Stop

Stops the server and disconnects every user logged in. The students that are doing the test in the stop time will need to retake it. (aliases: shutdown, exit, quit)


Assignment

Every command linked to the assignments. (alias: ass)

Assignment Committed

prints a list of the user that have committed the loaded assignment. (alias: comm)

Assignment Load

loads an assignment and sends it to the waiting students.

Assignment Test

creates an example assignment and saves it in the path specified as argument

Assignment Time

All the commands related to the limit time

Assignment Time Get

gets the limit time set, (or prints a message if nothing's set)

Assignment Time Pattern

gets or sets the pattern with which the time is printed out or scanned in.

Assignment Time Remove

removes the limit time if it's set. (alias: unset)

Assignment Time Set

sets the limit time and sends it to all the students, the time wil be parsed with the formatter changable with assignment time pattern <pattern>

Assignment Uncommitted

the same as commited but sends a list of students that do NOT have commited the test instead. (aliases: noncommitted, !committed, noncommit, noncomm)

Assignment Unload

removes the commit that is currently loaded.


Exercise

All the commands linked to the exercise types. (aliases: exe)

Exercise List

Prints a list of all loaded exercise types.


Login

All the commands related to the user login.

Login Backup

Creates a backup of all the files in the backup folder. This command gets executed automatically on every save

Login List

Lists all the loaded classes or every user in the class if you specify one.

Login Password

Changes the password of the specified user password <class> <username>. The password will be taken from console or from a specific window (if the console isn't supported). (aliases: passwd, passw)

Login Register

Registers an user in a specific class register <class> <usernames>. (alias: reg)

Login Reload

Reloads all the users from file. WARNING if there are any changes done without saving they will be lost!

Login Save

Saves all the loaded users to the files, this is useful when some changes are made with the register command