Context
Add a mex export command that bundles the whole scaffold into a single Markdown file — for pasting into tools that don't read files well.
Scope
- New
mex export command that concatenates the scaffold files (ROUTER.md, context/, patterns/, etc.) into one Markdown document, with a clear section header per source file.
- Output to stdout by default; optionally to a path.
Where
- New command in
src/cli.ts.
- Reuse scaffold-file discovery — see
DEFAULT_SCAFFOLD_PATTERNS and findScaffoldFiles in src/drift/index.ts.
Acceptance criteria
Context
Add a
mex exportcommand that bundles the whole scaffold into a single Markdown file — for pasting into tools that don't read files well.Scope
mex exportcommand that concatenates the scaffold files (ROUTER.md, context/, patterns/, etc.) into one Markdown document, with a clear section header per source file.Where
src/cli.ts.DEFAULT_SCAFFOLD_PATTERNSandfindScaffoldFilesinsrc/drift/index.ts.Acceptance criteria
mex exportproduces a single Markdown file containing all scaffold files, each under a header.npm run typecheck && npm test && npm run buildpass.