()
| 120 | |
| 121 | // Main function |
| 122 | function 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 |
| 132 | main(); |
no test coverage detected