Table of Contents
Build a document by filling a .docx template with data.
Templates use Uniword’s template syntax embedded in Word comments. Data can be provided via YAML or JSON files, or inline key=value pairs.
2. Options
--data-
Path to a YAML or JSON data file.
--set-
Set a variable inline as
key=value. Can be repeated. --verbose,-v-
Show template markers and processing details.
3. Examples
Build from a template with YAML data:
uniword build template.docx output.docx --data data.yml
Build with inline variables:
uniword build template.docx output.docx --set title="My Report" --set author="Jane Doe"
Verbose output to inspect template markers:
uniword build template.docx output.docx --data data.yml --verbose