Skip to content

CLI command

tinbox preview-template

Render a template's merge-tag HTML with sample data to see what a recipient would receive. Pass a saved template `id`, or raw `html` to preview an unsaved draft.

Generated from tool: preview_template

Usage

sh
tinbox preview-template --id <id> --html <html>

Flags

NameTypeRequiredDefaultDescription
--idstringyes—A saved template id to render.
--htmlstringyes—Raw merge-tag HTML to render (instead of a saved template).