added book mode MVP

This commit is contained in:
Hartmut Seichter 2023-11-11 22:47:12 +01:00
parent 573018e9e2
commit 5e73a5ff95
4 changed files with 80 additions and 5 deletions

View file

@ -10,7 +10,9 @@ actual values are kept in YAML files in order to version them with git.
```sh
$> python coursebuilder
coursebuilder [-h] [-m META [META ...]] [-l LANG] [-f FIELDS [FIELDS ...]] [-s SCHEMA]
usage: [-h] [-m META [META ...]] [-l LANG] [-f FIELDS [FIELDS ...]] [-s SCHEMA] [-p] [-t] [-b BOOK]
versatile curricula generator
options:
-h, --help show this help message and exit
@ -18,9 +20,12 @@ options:
course description(s) as YAML file(s)
-l LANG, --lang LANG Language to parse from meta file (use de or en)
-f FIELDS [FIELDS ...], --fields FIELDS [FIELDS ...]
Fields to be used
Fields to be used, the table will be build accordingly
-s SCHEMA, --schema SCHEMA
using provided schema
-p, --pagebreak add a pagebreak after each module
-t, --title take first value in list as title
-b BOOK, --book BOOK process a whole curriculum book with sections
```
# Author
@ -28,7 +33,6 @@ options:
(c) Copyright 2020-2023 Hartmut Seichter
# Licence
Coursebuilder is licensed under the terms of the MIT License. For details consult https://opensource.org/license/mit/ or the attached license file