nave init
Create ~/.config/nave.toml interactively.
Usage
Interactively create `~/.config/nave.toml`
Usage: nave init [OPTIONS]
Options:
--no-interaction Accept all suggested defaults without prompting
--force Overwrite an existing config without prompting
-h, --help Print help
What it does
- Checks for an existing config and prompts before overwriting (unless
--force). - Probes
gh statusfor your GitHub username (unless--no-interaction, in which case it uses whateverghreports or leaves the field blank). - Prompts for:
- whether to use
ghfor auth; per_page(clamped to 1–100).- Writes a commented config with the default
tracked_pathslist. - Pulls the schema cache (non-fatal on network failure — re-run nave schemas pull later if offline).
Example
nave init # interactive
nave init --no-interaction # take all defaults
nave init --force # overwrite existing
The written file
See Config for the full schema. The file is a commented TOML document; the comments explain glob syntax and which fields are most commonly edited.