From e0e115526089bf41d5d60929956edf5601ff3e23 Mon Sep 17 00:00:00 2001 From: Eyal Toledano Date: Thu, 22 May 2025 02:59:32 -0400 Subject: [PATCH] fix(parse-prd): Fix parameter naming inconsistency in CLI parse-prd command --- .changeset/modern-parks-fly.md | 5 +++++ scripts/modules/commands.js | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/modern-parks-fly.md diff --git a/.changeset/modern-parks-fly.md b/.changeset/modern-parks-fly.md new file mode 100644 index 00000000..6ac037b5 --- /dev/null +++ b/.changeset/modern-parks-fly.md @@ -0,0 +1,5 @@ +--- +'task-master-ai': patch +--- + +Fixes issue with force/append flag combinations for parse-prd. diff --git a/scripts/modules/commands.js b/scripts/modules/commands.js index 01d2b171..7683b7f5 100644 --- a/scripts/modules/commands.js +++ b/scripts/modules/commands.js @@ -619,8 +619,8 @@ function registerCommands(programInstance) { spinner = ora('Parsing PRD and generating tasks...\n').start(); await parsePRD(inputFile, outputPath, numTasks, { - useAppend: useAppend, - useForce: useForce, + append: useAppend, + force: useForce, research: research }); spinner.succeed('Tasks generated successfully!');