progress
Display the current modernization progress from migration-state.json.
npx modernizespec progress [options]What It Does
Section titled “What It Does”- Reads
migration-state.json - Displays overall progress, per-context status, parity test results, and velocity metrics
- Highlights active blockers
- Shows estimated completion date
Options
Section titled “Options”| Flag | Description | Default |
|---|---|---|
--dir <path> | Project directory | Current directory |
--context <name> | Show details for a specific context | All contexts |
--json | Output as JSON | Human-readable table |
--update | Interactive update mode (prompts for new values) | Read-only |
Examples
Section titled “Examples”Show All Progress
Section titled “Show All Progress”npx modernizespec progressOutput:
Show Specific Context
Section titled “Show Specific Context”npx modernizespec progress --context AccountsUpdate Progress
Section titled “Update Progress”npx modernizespec progress --update --context Accounts --progress 0.55Exit Codes
Section titled “Exit Codes”| Code | Meaning |
|---|---|
0 | Progress displayed successfully |
1 | Active blockers with severity “critical” |
2 | Spec files not found |
See Also
Section titled “See Also”- migration-state.json Specification — Full field reference
- Progress Dashboard — Interactive visualization