CliUsage
Usage
Common Peam CLI commands and patterns
Overview
The CLI builds a search index from one or more sources and exports it to one or more stores.
Basic usage
peam \
--source fileBased --projectDir . --sourceDir .next \
--exclude /admin/** \
--store fileBased --indexPath .peam/index.jsonMultiple sources and stores
peam \
--source fileBased --projectDir . --sourceDir dist \
--source prerender --projectDir . --prerenders ./out/prerender-manifest.json \
--exclude /drafts/** --exclude /private/** \
--store fileBased --indexPath .peam/index.jsonHelp and discovery
peam --help
peam --help sources
peam --help stores
peam --versionNotes
- When
--sourceor--storeis omitted, the CLI uses the defaultfileBasedtype. --excludecan be repeated to add multiple patterns.--robotsTxtacceptstrue,false, or a file path.