Apply Template
This program is used to fill in a jinja2 template.
All variables defined in the Course Configuration file are passed to the template.
The session number is passed by the variable snr.
The list of participants is passed to the template if it contains a varaible users.
The list of users contains objects of type gitlab_course.GLCUser.
Usage
usage: glc_apply_template [-h] -t TEMPLATE [-s SESSION] [-o OUTPUT] course
Positional Arguments
- course
the course description file
Named Arguments
- -t, --template
the template to apply
- -s, --session
the session number
Default:
1- -o, --output
write to results to file