Home InfiniLoom Documentation GitHub
Documentation Menu
Getting Started

index

Builds or updates a persistent symbol index for fast diff-to-context operations.

Usage

infiniloom index [PATH] [OPTIONS]

Description

The index command scans repository source files, parses symbols using Tree-sitter, builds a dependency graph, and saves the index to the .infiniloom/ directory. This enables sub-second context expansion for code changes.

Options

--force

Force full index rebuild

--status

Show index status

-v, --verbose

Show detailed progress

--watch

Auto-rebuild on file changes

Examples

# Build index for current directory
infiniloom index

# Force full rebuild
infiniloom index --force

# Show detailed build progress
infiniloom index -v

# Watch mode for continuous updates
infiniloom index --watch

Output Files