--summarize flag.
Syntax
Arguments
Optional project name. If omitted, uses the current project.
Options
View summary for a specific file path.
Display interactive list of all files with summaries.
Behavior
Default (No Options)
Shows the overall project summary.With —file
Displays the summary for a specific file.With —list
Opens an interactive file browser:- Arrow keys to navigate
- Type to search/filter
- Enter to view full summary
- Esc, Ctrl+C, or ‘q’ to exit
Examples
View project summary
View summary for specific project
View file summary
Browse all file summaries
View file summary in different project
Requirements
Project must have summaries generated. Generate them with:
Summary Types
Project Summary
High-level overview including:- Project purpose and architecture
- Main technologies used
- Key components and their relationships
- Notable patterns or conventions
File Summary
For each file:- File purpose and responsibility
- Key functions/classes/exports
- Dependencies and relationships
- Important implementation details
Interactive List Controls
| Key | Action |
|---|---|
| ↑/↓ | Navigate files |
| Enter | View summary |
| Type | Filter files |
| Esc | Exit |
| Ctrl+C | Exit |
| q | Exit (after viewing) |
Output Format
Project Summary
File Summary
Error Messages
Cost Information
Summaries are generated using AI (requires API key):- Generated during
adist reindex --summarize - Stored locally in config
- No additional cost to view summaries
- Regenerated only when reindexing
Related Commands
- adist reindex - Generate or update summaries
- adist query - Ask questions using summaries as context
- adist get - Search returns summaries when available