Skip to main content

Module render

Module render 

Source
Expand description

Rendering infrastructure for dodot output.

Wraps standout-render to provide a consistent rendering pipeline across all commands. The theme and templates are defined here; the CLI layer just picks an OutputMode.

Constants§

TEMPLATE_LIST
List — just pack names.
TEMPLATE_MESSAGE
Simple message output (init, fill, adopt, addignore).
TEMPLATE_PACK_STATUS
Status / up / down — pack-level output with file listings.
TEMPLATE_PROBE
Probe — deployment map, data-dir tree, summary. Branches on the kind field of the serialized result.

Functions§

create_renderer
Create a pre-compiled renderer with all dodot templates registered.
create_theme
Create the dodot theme from the embedded YAML definition.
render
Render a template with the given data and output mode.