Skip to content

hlavki/thymeleaf-pdf-cli

Repository files navigation

Thymeleaf PDF report CLI tool

CLI tool to help developers prepare PDF reports as quick as possible. This tool takes html template, enrich it with data from json file and finally renders output to PDF.

Sample Usage (Linux):

cd thymeleaf-pdf-cli
cp -r sample-template/* templates/
./thymeleaf-pdf-cli gen -t index.html -d templates/data.json -o output.pdf

Sample Usage (Windows):

cd thymeleaf-pdf-cli
xcopy sample-template templates /E
thymeleaf-pdf-cli.exe gen -t index.html -d templates/data.json -o output.pdf

Developers note

Agent for graalvm native image: -agentlib:native-image-agent=config-output-dir=src/main/resources/META-INF/native-image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published