MCPcopy Index your code
hub / github.com/awesome-opencode/awesome-opencode / readTemplate

Function readTemplate

scripts/utils/template.js:12–15  ·  view source on GitHub ↗

* Read the README template * @returns {string} Template content

()

Source from the content-addressed store, hash-verified

10 * @returns {string} Template content
11 */
12function 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

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected