An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others.
JavaScript aicursorcursor-aicursorailovablelovable-devroocodetask-managertaskstasks-listwindsurfwindsurf-ai
fix(parse-prd): resolves issue preventing --append flag from properly working in the CLI context. Adds changeset.
Eyal Toledano0288311965ae
diff --git a/.changeset/small-toys-fly.md b/.changeset/small-toys-fly.mdnew file mode 100644index 00000000..34027402--- /dev/null+++ b/.changeset/small-toys-fly.md@@ -0,0 +1,7 @@+---+'task-master-ai': patch+---++Small fixes+ - `next` command no longer incorrectly suggests that subtasks be broken down into subtasks in the CLI+ - fixes the `append` flag so it properly works in the CLIdiff --git a/scripts/modules/commands.js b/scripts/modules/commands.jsindex 58bad68a..a020315f 100644--- a/scripts/modules/commands.js+++ b/scripts/modules/commands.js@@ -516,8 +516,8 @@ function registerCommands(programInstance) {const outputPath = options.output;const force = options.force || false;const append = options.append || false;- let useForce = false;- let useAppend = false;+ let useForce = force;+ let useAppend = append;// Helper function to check if tasks.json exists and confirm overwriteasync function confirmOverwriteIfNeeded() {@@ -547,8 +547,8 @@ function registerCommands(programInstance) {console.log(chalk.blue(`Generating ${numTasks} tasks...`));spinner = ora('Parsing PRD and generating tasks...').start();await parsePRD(defaultPrdPath, outputPath, numTasks, {- useAppend,- useForce+ append: useAppend, // Changed key from useAppend to append+ force: useForce // Changed key from useForce to force});spinner.succeed('Tasks generated successfully!');return;@@ -609,8 +609,8 @@ function registerCommands(programInstance) {spinner = ora('Parsing PRD and generating tasks...').start();await parsePRD(inputFile, outputPath, numTasks, {- append: useAppend,- force: useForce+ useAppend: useAppend,+ useForce: useForce});spinner.succeed('Tasks generated successfully!');} catch (error) {