Documentation Index
Fetch the complete documentation index at: https://docs.monolex.ai/llms.txt
Use this file to discover all available pages before exploring further.
Commands
search
Search for files matching query using trigram fuzzy matching.
monogram search <query> [options]
monogram s <query> [options]
| Option | Default | Description |
|---|
-n <limit> | 10 | Max results |
--cwd | - | Filter to current directory only |
--json | - | JSON output |
-r | - | Reindex before search |
chain
Trace symbol call chain (BFS, flat list).
monogram chain <symbol> [options]
monogram c <symbol> [options]
| Option | Default | Description |
|---|
--callers | default | Show who calls symbol |
--callees | - | Show what symbol calls |
--depth <N> | 3 | Max traversal depth |
--strict | - | Exact + normalized only |
--fuzzy=<N> | 0.5 | Set fuzzy threshold (0.0-1.0) |
--json | - | JSON output |
-r | - | Reindex before chain |
tree
DFS call tree (hierarchical). Same options as chain.
monogram tree <symbol> [options]
monogram t <symbol> [options]
symbols
Search symbols (functions, classes, structs).
monogram symbols <query> [--json]
deps / rdeps
monogram deps <file> # What does this file import?
monogram rdeps <file> # Who imports this file?
index / reindex / prune / stats
monogram index <path> [--ext ts,rs] [--symbols]
monogram reindex <path>
monogram prune [--dry-run]
monogram stats
Examples
# Search
monogram search "terminal font size"
monogram search "session" -n 5 --json
# Dependencies
monogram deps main.ts
monogram rdeps terminal.ts
# Call graph
monogram chain createSession --callees --strict
monogram tree handleInput --callers --depth 4
# Fresh after edits
monogram search "newCode" -r