# Git Slop CLI Reference: `init`
Generated from the live Clap command tree.
## `git-slop init`
Scaffold .slop/ config, ignore rules, and state directories
**Usage**
```text
Usage: git-slop init [OPTIONS]
```
**Machine contract:** `init-1` for JSON output.
| `--force` | `flag` | `-` | exclusive group: force, repair, check | Replace generated files atomically and keep ignored `.bak` recovery copies |
| `--repair` | `flag` | `-` | exclusive group: force, repair, check | Add missing generated ignore rules without replacing repository configuration |
| `--check` | `flag` | `-` | exclusive group: force, repair, check | Inspect adoption files without changing the repository |
| `--gitignore-only` | `flag` | `-` | - | Limit initialization, repair, force, or check to .slop/.gitignore |
| `--format` | `FORMAT` | `text` | values: text, json | Output format. JSON also makes parser and runtime errors machine-readable |
**Example**
```sh
git slop init --check
```