Skip to content

export

Export the modernization state as an HTML dashboard or JSON report.

Terminal window
npx modernizespec export [options]
  1. Reads all ModernizeSpec files
  2. Generates a comprehensive report with:
    • Project overview and metrics
    • Bounded context map
    • Complexity heatmap
    • Extraction plan timeline
    • Progress dashboard with parity results
    • Active blockers
  3. Outputs as HTML (self-contained) or JSON
FlagDescriptionDefault
--dir <path>Project directoryCurrent directory
--format <type>Output format: html, jsonhtml
--output <path>Output file pathmodernizespec-report.html
--title <text>Report titleProject name from manifest
Terminal window
npx modernizespec export --format html

Opens modernizespec-report.html in the browser — a self-contained HTML file with embedded CSS and JavaScript.

Terminal window
npx modernizespec export --format json --output report.json
Terminal window
npx modernizespec export --title "ERPNext Migration Status — February 2026"

The generated HTML report includes:

SectionData Source
Project overviewmanifest.json
Bounded context mapdomains.json
Complexity heatmapcomplexity.json
Extraction timelineextraction-plan.json
Parity test resultsparity-tests.json
Progress dashboardmigration-state.json
Blocker listmigration-state.json
Velocity chartmigration-state.json

The HTML file is self-contained — no external dependencies, no server required. Share it via email, Slack, or any file-sharing tool.

{
"generated": "2026-02-08T14:30:00Z",
"project": "ERPNext",
"manifest": { /* ... */ },
"domains": { /* ... */ },
"complexity": { /* ... */ },
"extractionPlan": { /* ... */ },
"parityTests": { /* ... */ },
"migrationState": { /* ... */ },
"summary": {
"overallProgress": 0.18,
"contextsTotal": 5,
"contextsInProgress": 1,
"contextsComplete": 0,
"parityPercentage": 0.944,
"activeBlocers": 1,
"estimatedCompletion": "2026-04-15"
}
}