Skip to main content

export

Re-export or open the last generated report.

work-summary export [options]

Flags

FlagTypeDescription
--date <YYYY-MM-DD>stringTarget a specific report by date. Defaults to the most recent report.
--openflagOpen the report in $EDITOR instead of printing the file path.

Examples

work-summary export
# → /Users/you/.work-summary/reports/2026-05-18-myapp.md

Open the latest report in your editor

work-summary export --open

Target a specific date

work-summary export --date 2026-05-17
# → /Users/you/.work-summary/reports/2026-05-17-myapp.md

work-summary export --date 2026-05-17 --open

Notes

  • export does not re-generate the report — it simply locates and optionally opens the existing file.
  • If no report is found, the command exits with an error and a hint to run work-summary run.
  • For a full list of available reports, use work-summary history.