@@ -52,13 +52,29 @@ Code LoD is a CLI tool that generates and manages code descriptions at different
5252
5353```
5454src/code_lod/
55- ├── cli.py # Main Typer CLI commands
56- ├── config.py # Config/Paths management
55+ ├── cli/ # Typer CLI commands (one file per command)
56+ │ ├── __init__.py # Main app entry point
57+ │ ├── clean.py # Clean all code-lod data
58+ │ ├── config.py # Configuration management
59+ │ ├── generate.py # Generate descriptions
60+ │ ├── hooks.py # Git hooks installation
61+ │ ├── init.py # Initialize code-lod
62+ │ ├── read.py # Output descriptions
63+ │ ├── status.py # Check freshness status
64+ │ ├── update.py # Update stale descriptions
65+ │ └── validate.py # Validate descriptions
66+ ├── config.py # Paths management
5767├── db.py # SQLite hash index
5868├── hashing.py # AST hash computation
5969├── models.py # Pydantic data models
6070├── staleness.py # StalenessTracker
61- ├── llm/ # LLM generator abstraction
71+ ├── llm/
72+ │ ├── __init__.py
73+ │ └── description_generator/ # LLM generator abstraction
74+ │ ├── generator.py # BaseGenerator interface
75+ │ ├── anthropic.py # Anthropic Claude provider
76+ │ ├── openai.py # OpenAI provider
77+ │ └── mock.py # Mock generator for testing
6278├── parsers/ # BaseParser, tree-sitter implementations
6379└── lod_file/ # .lod file read/write/comment parsing
6480```
0 commit comments