()
| 447 | } |
| 448 | |
| 449 | export async function getTemplateList() { |
| 450 | console.error(SGR(`search template directories in ${await getConfigDirectory()}`, 37)); |
| 451 | const templates = await getTemplates(); |
| 452 | console.log(formatAsShellOutput([[SGR("NAME", 1), "SUBMIT-PROGRAM"]].concat(templates.map(template => [SGR(template.name, 1), template.task.submit])))); |
| 453 | } |
| 454 | |
| 455 | /** |
| 456 | * 文字列の2次元配列を受け取り、行ごとにいい感じのスペースで結合して返す |
nothing calls this directly
no test coverage detected