contentrain_init
Initializes the .contentrain/ directory structure for your project, auto-committing changes to git. Detects framework stack and configures localization and content domains.
Instructions
Initialize .contentrain/ structure. Changes are auto-committed to git — do NOT manually create .contentrain/ files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stack | No | Framework stack (nuxt, next, astro, svelte, react-vite, other). Auto-detected if omitted. | |
| locales | No | Supported locales. Default: ["en"] | |
| domains | No | Content domains. Default: auto-suggested |