Skip to main content

Module init

Module init 

Source

Structs§

InitOutcome

Enums§

InitError

Constants§

DEFAULT_CONFIG
DEFAULT_FLOW
DEFAULT_PROJECT
DEFAULT_REVIEW_PROMPT
TRAIN_FLOW_TEMPLATE
The merge-train flow, materialized beside default rather than in place of it. Its verify stage is a {test_cmd} placeholder that render_train_flow fills in, so the shipped copy is not a flow file until it has been rendered.

Functions§

init
Scaffolds a Sloop repository in root: committed configuration, project, ticket, flow, and prompt files. Idempotent; never starts the daemon and never rewrites a file that already exists.
render_train_flow
Fills the train template’s verify command in. A JSON array is a YAML flow sequence, so serializing the argv is also how it is quoted.