From 7ff882bf233649a83b18953b4172ec381bba4b63 Mon Sep 17 00:00:00 2001 From: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com> Date: Tue, 23 Sep 2025 11:05:24 +0200 Subject: [PATCH] fix: improve commander instance in commands.js --- scripts/modules/commands.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/modules/commands.js b/scripts/modules/commands.js index bb515526..d4b46e9f 100644 --- a/scripts/modules/commands.js +++ b/scripts/modules/commands.js @@ -3,7 +3,7 @@ * Command-line interface for the Task Master CLI */ -import { program } from 'commander'; +import { Command } from 'commander'; import path from 'path'; import chalk from 'chalk'; import boxen from 'boxen'; @@ -5076,7 +5076,7 @@ Examples: */ function setupCLI() { // Create a new program instance - const programInstance = program + const programInstance = new Command() .name('dev') .description('AI-driven development task management') .version(() => {