init commit,

This commit is contained in:
louiscklaw
2025-05-28 09:55:51 +08:00
commit efe70ceb69
8042 changed files with 951668 additions and 0 deletions

23
01_Requirements/create.js Normal file
View File

@@ -0,0 +1,23 @@
const fs = require("fs");
const path = require("path");
function createMarkdownFile(filename, descript, spent) {
const filePath = path.join(__dirname, filename);
const content = `# ${filename}\n## description\n${descript}\n
## Spent\n${spent}`;
fs.writeFileSync(filePath, content);
}
for (let i = 96; i <= 100; i++) {
const dir = `REQ${String(i).padStart(4, "0")}`;
const filePath = path.join(__dirname, dir);
if (!fs.existsSync(filePath)) {
fs.mkdirSync(filePath);
}
createMarkdownFile(
`${dir}/index.md`,
`This is a test requirement ${i}`,
`${i * 3}`
);
}