Kavi

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

FlagDescription
--homeAlso scaffold user-local config at ~/.kavi/config.toml
--no-commitSkip 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-commit

On this page