export
Export the modernization state as an HTML dashboard or JSON report.
npx modernizespec export [options]What It Does
Section titled “What It Does”- Reads all ModernizeSpec files
- Generates a comprehensive report with:
- Project overview and metrics
- Bounded context map
- Complexity heatmap
- Extraction plan timeline
- Progress dashboard with parity results
- Active blockers
- Outputs as HTML (self-contained) or JSON
Options
Section titled “Options”| Flag | Description | Default |
|---|---|---|
--dir <path> | Project directory | Current directory |
--format <type> | Output format: html, json | html |
--output <path> | Output file path | modernizespec-report.html |
--title <text> | Report title | Project name from manifest |
Examples
Section titled “Examples”Export HTML Dashboard
Section titled “Export HTML Dashboard”npx modernizespec export --format htmlOpens modernizespec-report.html in the browser — a self-contained HTML file with embedded CSS and JavaScript.
Export JSON Report
Section titled “Export JSON Report”npx modernizespec export --format json --output report.jsonCustom Title
Section titled “Custom Title”npx modernizespec export --title "ERPNext Migration Status — February 2026"HTML Report Contents
Section titled “HTML Report Contents”The generated HTML report includes:
| Section | Data Source |
|---|---|
| Project overview | manifest.json |
| Bounded context map | domains.json |
| Complexity heatmap | complexity.json |
| Extraction timeline | extraction-plan.json |
| Parity test results | parity-tests.json |
| Progress dashboard | migration-state.json |
| Blocker list | migration-state.json |
| Velocity chart | migration-state.json |
The HTML file is self-contained — no external dependencies, no server required. Share it via email, Slack, or any file-sharing tool.
JSON Report Structure
Section titled “JSON Report Structure”{ "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" }}See Also
Section titled “See Also”- Progress Dashboard — Interactive browser-based dashboard
- progress — Terminal-based progress display