Documentation
¶
Overview ¶
Package main is the entry point for the knowing CLI.
The CLI provides three subcommands:
- serve: starts the daemon with file watching, reindexing, and MCP server
- index: one-shot indexing of a repository with optional LSP enrichment
- query: search the knowledge graph by symbol name prefix
The serve command wires together the full pipeline: SQLite store, snapshot manager, indexer (with tree-sitter and optional Python extractors), MCP server, and daemon (with git watching and background enrichment).
Click to show internal directories.
Click to hide internal directories.