()
| 314 | } |
| 315 | |
| 316 | function generateCommandDocs() { |
| 317 | const validators = readValidators(); |
| 318 | |
| 319 | for (const command of commands.all) { |
| 320 | const head = generateHead(command.name); |
| 321 | const body = generateBody(command, validators); |
| 322 | const content = generateContent(head, body); |
| 323 | writeCommandContent(command.name, content); |
| 324 | } |
| 325 | } |
| 326 | |
| 327 | if (require.main === module) { |
| 328 | generateCommandDocs(); |
no test coverage detected