MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / writeOutput

Function writeOutput

apps/storybook/scripts/component-inventory.js:535–539  ·  view source on GitHub ↗
(outputPath, content)

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.85

Calls 2

resolveFunction · 0.50
writeFileFunction · 0.50

Tested by

no test coverage detected