Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

grep

Keyword and regex search using LanceDB full-text search.

Usage

bobbin grep <PATTERN> [OPTIONS]

Examples

bobbin grep "TODO"
bobbin grep "handleRequest" --ignore-case
bobbin grep "fn.*test" --regex                   # Regex post-filter
bobbin grep "TODO" --type function --context 2   # With context lines
bobbin grep "auth" --repo myproject

Options

FlagShortDescription
--ignore-case-iCase insensitive search
--regex-EUse extended regex matching (post-filters FTS results)
--type <TYPE>-tFilter by chunk type
--limit <N>-nMaximum results (default: 10)
--context <N>-CNumber of context lines around matches (default: 0)
--repo <NAME>-rFilter to a specific repository