fix: improve commander instance in commands.js
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
* Command-line interface for the Task Master CLI
|
* Command-line interface for the Task Master CLI
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { program } from 'commander';
|
import { Command } from 'commander';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import chalk from 'chalk';
|
import chalk from 'chalk';
|
||||||
import boxen from 'boxen';
|
import boxen from 'boxen';
|
||||||
@@ -5076,7 +5076,7 @@ Examples:
|
|||||||
*/
|
*/
|
||||||
function setupCLI() {
|
function setupCLI() {
|
||||||
// Create a new program instance
|
// Create a new program instance
|
||||||
const programInstance = program
|
const programInstance = new Command()
|
||||||
.name('dev')
|
.name('dev')
|
||||||
.description('AI-driven development task management')
|
.description('AI-driven development task management')
|
||||||
.version(() => {
|
.version(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user