Skip to content

An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others.

fix(parse-prd): Fix parameter naming inconsistency in CLI parse-prd command

Eyal Toledanoe0e115526089
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!');