@flowrag/cli
v0.4.3
Published
💻 Command-line interface for FlowRAG - index documents and search from your terminal
Maintainers
Readme
@flowrag/cli
Command-line interface for FlowRAG — index documents and search from your terminal.
Installation
npm install -g @flowrag/cliCommands
# Initialize data directory
flowrag init
# Index documents
flowrag index ./content
flowrag index ./content --force # Re-index all
flowrag index ./content --interactive # Review entities
# Search
flowrag search "how does OCPP work"
flowrag search "OCPP" --type entities
flowrag search "query" --mode local --limit 20
# Knowledge graph
flowrag graph stats
flowrag graph export
# Statistics
flowrag statsConfiguration
Create flowrag.json or .flowrag.json in your project root:
{
"entityTypes": ["SERVICE", "DATABASE", "PROTOCOL"],
"relationTypes": ["USES", "PRODUCES", "CONSUMES"]
}License
MIT
