divekit index

Manage the Divekit project index

Synopsis

Manage the local project index for fast project discovery and search.

The project index is a local database that tracks Divekit projects and their distributions. It enables fast searching and navigation between projects.

Subcommands

  add       Add projects to the index
  refresh   Verify and update all indexed projects

Usage

divekit index [flags]

Examples

# Add current directory to index
divekit index add

# Add a specific project
divekit index add /path/to/project

# Recursively find and add all projects
divekit index add --recursive

# Find sibling projects (go up one dir, scan siblings)
divekit index add --siblings

# Refresh the entire index (verify paths, update distributions)
divekit index refresh

Inherited Flags

-l, --loglevel string   log level (debug, info, warn, error, fatal) (default "info")
      --no-index          skip project index update
      --non-interactive   run in non-interactive mode (fails if interactive input is required)
  -y, --yes               assume yes/default for all prompts (non-interactive with automatic defaults)

Available Subcommands

  • add — Add a project to the index
  • refresh — Verify and update all indexed projects

divekit index add

Add a project to the index

divekit index refresh

Verify and update all indexed projects