Liking cljdoc? Tell your friends :D

boundary.cli.templates

Shared template helpers for the boundary CLI: template loading, {{var}} rendering, and the module-row pattern used to keep AGENTS.md's available- modules table in sync (boundary add removes a row at install time; boundary agents update keeps it removed on refresh).

Shared template helpers for the boundary CLI: template loading, {{var}}
rendering, and the module-row pattern used to keep AGENTS.md's available-
modules table in sync (`boundary add` removes a row at install time;
`boundary agents update` keeps it removed on refresh).
raw docstring

block-contentclj

(block-content content block)

Content between the first marker pair (exclusive), or nil when absent.

Content between the first marker pair (exclusive), or nil when absent.
sourceraw docstring

module-row-patternclj

(module-row-pattern module-name)

Regex matching a module's row in the available-modules table: a line naming the module that ends in its boundary add <name> command. Kebab-aware lookarounds on both sides of the name (plain \b treats - as a boundary) so search never matches a search-advanced row.

Regex matching a module's row in the available-modules table:
a line naming the module that ends in its `boundary add <name>` command.
Kebab-aware lookarounds on both sides of the name (plain \b treats `-`
as a boundary) so `search` never matches a `search-advanced` row.
sourceraw docstring

read-templateclj

(read-template tmpl-name)

Slurp a template from the CLI's resources. Throws when missing.

Slurp a template from the CLI's resources. Throws when missing.
sourceraw docstring

renderclj

(render template substitutions)

Replace {{key}} placeholders in template with substitution values.

Replace {{key}} placeholders in template with substitution values.
sourceraw docstring

replace-blockclj

(replace-block target block new-body)

Replace the content of the first marker pair in target with new-body. Returns target unchanged when the markers are missing.

Replace the content of the first marker pair in target with new-body.
Returns target unchanged when the markers are missing.
sourceraw docstring

update-blockclj

(update-block content block f)

Apply f to the body of the first marker pair; no-op when markers absent.

Apply f to the body of the first marker pair; no-op when markers absent.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close