(outputPath, content)
| 533 | } |
| 534 | |
| 535 | async function writeOutput(outputPath, content) { |
| 536 | const resolvedOutputPath = resolve(repoRoot, outputPath); |
| 537 | await mkdir(dirname(resolvedOutputPath), { recursive: true }); |
| 538 | await writeFile(resolvedOutputPath, content); |
| 539 | } |
| 540 | |
| 541 | async function main() { |
| 542 | const options = parseArgs(process.argv.slice(2)); |