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_
GIT_ FILTERS - Git filter installation snippets (
dodot git-show-filters). - TEMPLATE_
GIT_ INSTALL_ ALIAS dodot git-install-aliasoutcome message.- TEMPLATE_
GIT_ SHOW_ ALIAS dodot git-show-aliasprint-for-paste output.- 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_
PROMPTS_ LIST - Dismissed-prompt registry listing (
dodot prompts list). - TEMPLATE_
REFRESH dodot refreshper-mode output (default report / quiet / list-paths).- TEMPLATE_
SECRET_ LIST dodot secret listper-reference enumeration. Lists everysecret(...)call across the repo’s templates with a per-row warning when the referenced scheme has no provider enabled in the current config. Independent rollup at the bottom names schemes with refs but no provider.- TEMPLATE_
SECRET_ PROBE dodot secret probeper-provider state list. Surfaces each configured provider’sprobe()outcome with the rendered hint; treats “no providers configured” / “secrets disabled” as a separate render branch.- TEMPLATE_
TEMPLATE_ INSTALL_ FILTER dodot template install-filteroutcome message.- TEMPLATE_
TRANSFORM_ CHECK dodot transform checkper-file action list + optional unresolved- marker section. Seecommands::transform.- TEMPLATE_
TRANSFORM_ INSTALL_ HOOK dodot transform install-hookoutcome message (created / appended / already_installed).- TEMPLATE_
TRANSFORM_ STATUS dodot transform statusper-file state list.- 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.