ast-doc 0.1.0

CLI for generating optimized llms.txt documentation from codebases
ast-doc-0.1.0 is not a library.

ast-doc

crates.io docs.rs

CLI for generating optimized llms.txt documentation from codebases using AST-based semantic parsing.

Installation

cargo install ast-doc

Quick Start

# Generate llms.txt to stdout
ast-doc .

# Write to a file
ast-doc . --output llms.txt

# Set token budget (default: 128,000)
ast-doc . --max-tokens 64000

Output Strategies

ast-doc . --strategy full        # Full source code (default)
ast-doc . --strategy no-tests    # Strip test modules
ast-doc . --strategy summary     # Signatures only

Supported Languages

  • Rust, Python, TypeScript/JavaScript, Go, C

For the library API, see ast-doc-core.

License

Apache-2.0