Reorganize Blender Web execution around capabilities
This commit is contained in:
@@ -5,7 +5,7 @@ import { readIndexedTask, verifyTaskIndex, root } from './task-context-lib.mjs';
|
||||
const taskArg = process.argv.indexOf('--task');
|
||||
const task = taskArg >= 0 ? process.argv[taskArg + 1] : undefined;
|
||||
if (!task) throw new Error('usage: node tools/web/generate-task-card.mjs --task <task-id>');
|
||||
verifyTaskIndex();
|
||||
verifyTaskIndex(task);
|
||||
const entry = readIndexedTask(task);
|
||||
if (!entry) throw new Error('unknown indexed task: ' + task);
|
||||
const cardPath = path.join(root, 'docs/tasks', task + '.md');
|
||||
|
||||
Reference in New Issue
Block a user