Skip to main content

Module init

Module init 

Source
Expand description

rk init: land a technology’s deterministic files into a target.

Dry-run by default: without --apply the destinations are listed and nothing is touched. The payload is rendered before anything is compared — the repository owner substitutes into rendered files from the detection-resolved --repo parameter — so the comparison is against what would be written, not against the raw payload. Apply is all-or-nothing against conflicts on rendered files; a differing seeded or state file is the target’s own and is reported and kept. Every write goes through the temp-plus-rename writer, and the landing record is written last: a refused landing writes nothing, the record included.

Functions§

run
Land the files for --tech into --target.