kavi init
Create repo-local config, prompt files, ignore rules, and bootstrap git.
Synopsis
kavi init [options]Description
Initializes a Kavi project in the current repository. Creates the repo-local .kavi directory with default configuration, prompt files, and ignore rules. Optionally bootstraps git with an initial commit.
Run this once when setting up Kavi in a new repository. If the repository does not yet have a .kavi directory, this command creates one with sensible defaults.
Options
| Flag | Description |
|---|---|
--home | Also scaffold user-local config at ~/.kavi/config.toml |
--no-commit | Skip the bootstrap git commit |
Examples
# Initialize Kavi in the current repo
kavi init
# Initialize with user-local config
kavi init --home
# Initialize without creating a git commit
kavi init --no-commitRelated
- kavi doctor -- verify readiness after init
- kavi open -- start a session after initializing
- kavi paths -- inspect resolved config paths