Expand description
Output formatting for CLI results
Uses native graph types directly without intermediate Symbol conversion.
Re-exports§
pub use pager::PagerConfig;
Modules§
- pager
- Pager integration for long output (P2-29)
Structs§
- Context
Lines - Extracted context lines for a symbol
- CsvFormatter
- CSV/TSV formatter for tabular output
- Display
Symbol - Display data for a symbol, constructed directly from graph queries.
- Formatter
Metadata - Metadata about the query for structured output
- Grouped
Context - Grouped context for multiple adjacent matches in same file
- Json
Formatter - JSON formatter for machine-readable output
- Json
Symbol - JSON-serializable symbol representation
- Match
Location - Match location for grouping
- Numbered
Line - A single line with its line number
- Output
Streams - Manages stdout and stderr streams
- Palette
- Palette of semantic roles for text output.
- Preview
Config - Configuration for preview/context display
- Preview
Extractor - Extracts code context around symbol locations
- Text
Formatter - Text formatter for human-readable output
Enums§
- CsvColumn
- Available columns for CSV/TSV output
- Name
Display Mode - Name display preference for human-readable output.
- Theme
Name - Built-in theme selection.
Traits§
- Formatter
- Trait for formatting search results
Functions§
- create_
formatter - Create a formatter based on CLI flags
- parse_
columns - Parse column specification string into column list