UNPKG

clangd-query

Version:

Fast C++ code intelligence CLI tool for humans and AI agents. Provides semantic search, source code reading and usage lookups.

32 lines 1.31 kB
#!/usr/bin/env node /** * clangd-query - Fast C++ code intelligence CLI tool * * This is the client for the clangd-query system, providing fast access to C++ code * intelligence features through a persistent daemon. The client: * * - Auto-starts a background daemon if not already running * - Communicates via Unix domain sockets for low latency * - Provides human and AI-agent friendly output formats * - Supports all major C++ code navigation features * * Commands: * - search <query> Search for symbols by name (fuzzy matching) * - show <symbol> Show complete source code of a symbol * - usages <symbol> Find all references to a symbol * - hierarchy <symbol> Show base and derived classes of the symbol * - status Show daemon status information * - shutdown Stop the background daemon * * The tool is designed for minimal startup time and clear output. When used for the * first time in a project, it will start a daemon that maintains a warm clangd * instance, making subsequent queries nearly instantaneous. * * Example usage: * clangd-query search GameObject * clangd-query show Update * clangd-query usages GameObject::Update * clangd-query hierarchy Character */ export {}; //# sourceMappingURL=client.d.ts.map