Initial import from local backup (Documents-Playground/pakerpale)

This commit is contained in:
jeonghwa
2026-07-03 05:27:08 +09:00
commit c55f993072
1519 changed files with 374497 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
var fs = require('fs'),
sprintf = require('sprintf');
if (process.argv.length < 3) {
console.log('You need to enter title');
return;
}
var content = fs.readFileSync('./template.html').toString(),
issue = process.argv[2],
title = process.argv[3] || '';
content = sprintf(content, {
issue: issue,
title: title
});
fs.writeFileSync(sprintf('./%s.html', issue), content);