grepai

grepai index

CLI reference for grepai index

Update the index once and exit

Synopsis

Scan a project, update its vector, symbol, and optional RPG indexes, then exit.

Unlike grepai watch, this command does not start a file watcher or daemon. Unchanged files are skipped using the same incremental indexing logic as the initial scan performed by grepai watch.

Examples: grepai index grepai index —workspace myworkspace

grepai index [flags]

Options

  -h, --help               help for index
      --workspace string   Workspace name for multi-project indexing

SEE ALSO

  • grepai - Semantic code search CLI
Auto generated by spf13/cobra on 30-Oct-2026