2 unstable releases
0.2.0 | Nov 27, 2023 |
---|---|
0.1.0 | Nov 20, 2023 |
#31 in #explorer
29KB
701 lines
Drake
A tree-sitter based codebase dependency explorer.
About
Drake (as in Sir Francis) is a static analysis tool to map and search dependencies in a codebase by finding declarations and references and building a graph.
Drake currently support Swift, but it is based on tree-sitter, and may support other languages in the future.
Usage
As CLI
Drake can be installed with cargo install
.
In the current version it supports two tasks
drake deps [PATH] <TYPE_NAME>
recursively lists all the typesTYPE_NAME
depends on.drake print [PATH]
prints the declarations and references in each file.
As a library
Reasonable API and Cargo docs coming soon.
License
Drake is licensed under the MIT license. See LICENSE for more.
Dependencies
~22–31MB
~676K SLoC