Writes the template stored in the project's grading database to a YAML file
(the optional import/export format). This is the inverse of template_import().
Arguments
- path
Output path for the template
.yamlfile.- project
Path to the project directory. Defaults to the working directory.
- snapshot
Optional snapshot reference (see
snapshot_info()): export the template that snapshot recorded instead of the stored one.