ovecc init
Sets up ovecc in a repository: writes a fully commented .ovecc/config.toml (every
value shown is the default), adds .ovecc/ to .gitignore, and prints the first
commands to run.
Usage: ovecc init [OPTIONS]
Example
$ ovecc init
Wrote ~/projects/acme-shop/.ovecc/config.toml
Added .ovecc/ to .gitignore
Next steps:
ovecc index . build the architecture model (fully local)
ovecc summary one-screen health
ovecc diagnose named architecture smells, each with a fix
ovecc mcp expose every command to your coding agent
Options
| Option | Effect |
|---|---|
--force | Overwrite an existing .ovecc/config.toml |
Plus the global options.
Behavior
- Idempotent — running it again changes nothing unless you pass
--force. - Optional —
indexworks without it; runinitwhen you want the commented config template or the automatic.gitignoreentry. - The generated
.gitignoreentry covers the whole.ovecc/directory (database + parse cache). To share governance rules with your team, change it to.ovecc/*plus!.ovecc/config.tomland commit the config — see versioning the config.
The full template it writes is reproduced in the configuration reference.
Related
index— the natural next command- Governance rules — what to put in the config