CLI Reference
The travsr binary is the single entry point for all Travsr functionality.
Global flags
| Flag | Default | Description |
|---|---|---|
--repo <path> | . (cwd) | Path to the repository root |
--db <path> | .travsr/graph.db | Override the graph database path |
--log-level <level> | info | error | warn | info | debug | trace |
--version | N/A | Print version and exit |
--help | N/A | Print help and exit |
Subcommands
| Command | Description |
|---|---|
travsr init | Install git hook and run first full index |
travsr daemon | Start / stop / status the background daemon |
travsr mcp | Start the MCP server (stdio or SSE) |
travsr ask | Search for symbols in the graph |
travsr graph | Print a text representation of the graph around a file |
travsr repos | List and manage indexed repositories |
travsr lang | Install and manage language analysis tools |
travsr synonym | Manage query-time synonym pairs |
travsr status | Show daemon status and graph statistics |