Skip to content

v0.2.0

Choose a tag to compare

@piercecohen1 piercecohen1 released this 08 Apr 00:57
fc62659

What's New

CLI Export Flags

  • --json FILE — Export raw results with metadata to JSON
  • --html FILE — Export self-contained HTML report with summary table and bar charts
  • --png FILE — Export charts as a retina-quality PNG (generated natively, no browser needed)
  • --export DIR — Export full bundle (JSON + HTML + PNG) to a directory

--export is mutually exclusive with --json / --html / --png (validated at startup).

Shared Export Package

  • Extracted export logic from TUI into internal/export/ — now shared by both CLI and TUI modes
  • TUI simplified by ~400 lines
  • 23 integration tests covering all export formats, edge cases, and helpers

Other

  • Bundle() returns (string, error) so callers get the directory path back
  • NaN handling: zero-duration rates stored as NaN to avoid poisoning averages; JSON serializes them as null

Full Changelog: v0.1.0...v0.2.0