Skip to main content

Module hooks

Module hooks 

Source
Expand description

hooks subcommand: runtime-shape.

Renders the managed block from the registry and the project’s declaration, and writes it into the target’s configuration on request. What the render contains is the renderer’s business; this handler projects the flags, resolves the declaration, and owns the write.

--apply exists because nothing else reaches the block after an ordinary declaration edit. sdd upgrade returns early at the same version, and a render to stdout changes no file, so without this a project could edit its declaration and see nothing happen.

Constants§

CONFIG
Where a pre-commit configuration lives in a target.

Functions§

run
Render the delivered gate set, and optionally write it.