851 B
851 B
Interactive Area Build CLI Implementation Plan
- Extract stage definitions, aliases, canonical ordering, and conflict validation from
scripts/build-area.jsinto a shared CommonJS module. - Update
build-area.jsto consume the shared resolver without changing non-interactive semantics. - Add
scripts/interactive-build.jswith TTY detection, area discovery, raw-mode selection menus, cancellation handling, and child-process delegation tobuild-area.js. - Change
package.jsonsonpm run buildcalls the new interactive script whilebuild:arearemains unchanged. - Add focused Node tests for stage planning and non-TTY behavior; do not invoke Blender, QGIS, or a real area build in tests.
- Run syntax checks, the focused tests, existing preflight/preview tests, and manually exercise the interactive flow in a TTY.