senkani explore
Live
Navigate the codebase via the import graph from an entry point.
Syntax
senkani explore [--root path]
Behavior
Returns a bounded subgraph (imports + imported-by) up to a depth. Default entry point is auto-detected from `Package.swift` / `package.json` / `Cargo.toml`.
Example
$ senkani explore --root src/server.ts --depth 2
Flags
Flag
Description
--root <path>
Entry point file.
--depth N
Hops in each direction.
--limit N
Max nodes.
See also
Source:
Sources/CLI/ExploreCommand.swift