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
kindfield of the serialized result. - TEMPLATE_
TUTORIAL_ ANNOTATE_ STATUS - TEMPLATE_
TUTORIAL_ CHECK_ ROOT - TEMPLATE_
TUTORIAL_ CONCEPT_ SHELL - TEMPLATE_
TUTORIAL_ CONCEPT_ TARGETS - TEMPLATE_
TUTORIAL_ DRY_ RUN - TEMPLATE_
TUTORIAL_ INTRO - TEMPLATE_
TUTORIAL_ NO_ PACKS - TEMPLATE_
TUTORIAL_ OUTRO - TEMPLATE_
TUTORIAL_ PICK_ PACK - TEMPLATE_
TUTORIAL_ REAL_ UP - TEMPLATE_
TUTORIAL_ SHOW_ STATUS - TUTORIAL_
STEP_ TEMPLATES - Pairs of
(name, body)for every tutorial step template.
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.
- render_
tutorial_ step - Render a tutorial step template with the dodot theme.