divekit index add
Add a project to the index
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.
add Add projects to the index
refresh Verify and update all indexed projects
divekit index [flags]
# 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
-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)
Add a project to the index
Verify and update all indexed projects