Write .keryn.yml and .keryn/policy.yml.
keryn init [--force]Options
Section titled “Options”Usage: keryn init [--force] Writes .keryn.yml and .keryn/policy.yml; refuses to overwrite without --force. The config runs the full rule library (rules: bundled:all, as `keryn scan` does without a config); narrow it in .keryn.yml.Examples
Section titled “Examples”# Write the starter configuration; refuses to overwrite.keryn initExit codes
Section titled “Exit codes”| Code | Meaning |
|---|---|
| 0 | written |
| 2 | a file exists and –force was not given |