* Read the README template * @returns {string} Template content
()
| 10 | * @returns {string} Template content |
| 11 | */ |
| 12 | function readTemplate() { |
| 13 | const templatePath = path.join(__dirname, '../../templates/README.template.md'); |
| 14 | return fs.readFileSync(templatePath, 'utf8'); |
| 15 | } |
| 16 | |
| 17 | /** |
| 18 | * Replace a placeholder in the template |