ast-outline
Let AI coding agents pull exactly the code context they need — a repo map, a file outline, a single symbol, or a structural grep — instead of reading whole files. A stateless, tree-sitter-based CLI.
Installation
In a virtualenv (see these instructions if you need to create one):
pip3 install ast-outline
Dependencies
- tree-sitter-python
- pathspec
- tree-sitter-html
- tree-sitter-swift
- tree-sitter-php
- tree-sitter-ruby
- tree-sitter-rust
- tree-sitter-cpp
- tree-sitter-typescript
- tree-sitter
- tree-sitter-sql
- tree-sitter-yaml
- tree-sitter-scss
- tree-sitter-scala
- tree-sitter-markdown
- tree-sitter-go
- tree-sitter-css
- tree-sitter-c-sharp
- tree-sitter-lua
- tree-sitter-elixir
- tree-sitter-java
- tree-sitter-kotlin
Releases
Issues with this package?
- Search issues for this package
- Package or version missing? Open a new issue
- Something else? Open a new issue