divekit index add
Add a project to the index
Synopsis
Add a Divekit project to the local index for fast discovery.
Registers a project path in the index database so it can be found by the search command. If no path is provided, the current directory is used.
Usage
divekit index add [path] [flags]
Examples
# Add current directory to index
divekit index add
# Add a specific project by path
divekit index add /path/to/project
# Find and add all projects recursively
divekit index add --recursive
# Find sibling projects (go up one dir, scan siblings)
divekit index add --siblings
# Combine: go up one dir, then search recursively
divekit index add --siblings --recursive
Flags
--recursive Search recursively in subdirectories
--siblings Go up one directory and find all sibling projects
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)