Skip to content

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

  1. Checks for an existing config and prompts before overwriting (unless --force).
  2. Probes gh status for your GitHub username (unless --no-interaction, in which case it uses whatever gh reports or leaves the field blank).
  3. Prompts for:
  4. whether to use gh for auth;
  5. per_page (clamped to 1–100).
  6. Writes a commented config with the default tracked_paths list.
  7. 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.