Command line¶
Everything Hometrainer can do, can also be done from the command line,
using ToolHometrainerConsole:
Images are shown as ASCII art.
Commands¶
| Command | Description |
|---|---|
--about |
Show information about Hometrainer |
--help |
Show the help |
--version |
Show the version |
--example |
Create example exercises in the current folder |
--file |
Do an exercise |
--create-test |
Create an encrypted test from an exercise |
--take-test |
Do a test, the results are saved encrypted |
--score-tests |
Grade the results of one or more tests |
--create-printable-test |
Create a test on paper from an exercise |
Options¶
| Option | Description |
|---|---|
--key [number] |
The key used to encrypt a test |
--questions [number] |
The maximum number of questions in a test |
--output [filename] |
The file to save to |
--penalty [number] |
Number of questions expected to be correct by guessing |
--name [full name] |
The full name of the student doing a test |
--code [letters] |
Answer code for multiple choice questions on paper |
--format [html/text] |
The format of a test on paper, html by default |
Examples¶
Do an exercise:
Create a test with 10 questions:
Do a test:
Score tests:
Create a test on paper: