minutes icon indicating copy to clipboard operation
minutes copied to clipboard

Add minutes export command for CSV export

Open silverstein opened this issue 8 months ago • 1 comments

Summary

Users should be able to export their meetings as CSV for use in spreadsheets, databases, or other tools. A minutes export command would read meeting markdown files and output structured data.

What to do

  1. Add an export subcommand to crates/cli/src/main.rs
  2. Walk the meetings directory and parse each meeting's YAML frontmatter
  3. Output CSV with columns: date, title, duration, participants, action_item_count, decision_count, file_path
  4. Support --output <file> flag (default: stdout)
  5. Use the csv crate (already common in Rust) for proper escaping

Relevant files

  • crates/cli/src/main.rs — CLI commands
  • crates/core/src/markdown.rs — YAML frontmatter parsing
  • crates/core/src/search.rs — directory walking patterns
  • crates/reader/ — lightweight meeting parser (good reference)

Notes

The minutes-reader crate already parses meeting files without audio dependencies — it may be a good foundation for this.

silverstein avatar Mar 23 '26 01:03 silverstein

Fixed in b93f838 — added minutes export command that outputs CSV with columns: date, title, type, duration, path. Defaults to stdout (pipeable), supports --output <file> and --content-type filter.

silverstein avatar Mar 23 '26 02:03 silverstein