MCPcopy Create free account
hub / github.com/module-federation/module-federation-examples / main

Function main

updateReadmeExampleList.js:122–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120
121// Main function
122function main() {
123 const rootPath = path.resolve('./');
124 const tree = getDirectoryTree(rootPath, rootPath);
125 const markdown = treeToMarkdown(tree);
126
127 // Write the markdown to 'output.md'
128 fs.writeFileSync('output.md', markdown);
129}
130
131// Call the main function
132main();

Callers 1

Calls 2

getDirectoryTreeFunction · 0.85
treeToMarkdownFunction · 0.85

Tested by

no test coverage detected