memea::export

Function fmt_direct

Source
fn fmt_direct(input: &str, reports: &Reports) -> String
Expand description

Formats reports into a human-readable table string.

Creates a formatted table showing component breakdown with columns for name, type, count, location, and area. Includes a total area summary.

§Arguments

  • input - Configuration name to display as header
  • reports - Collection of reports to format

§Returns

Formatted string containing the complete table