remove yes parameter
This commit is contained in:
@@ -24,13 +24,6 @@ export function registerInitializeProjectTool(server) {
|
|||||||
.optional()
|
.optional()
|
||||||
.default(false)
|
.default(false)
|
||||||
.describe('Add shell aliases (tm, taskmaster) to shell config file.'),
|
.describe('Add shell aliases (tm, taskmaster) to shell config file.'),
|
||||||
yes: z
|
|
||||||
.boolean()
|
|
||||||
.optional()
|
|
||||||
.default(true)
|
|
||||||
.describe(
|
|
||||||
'Skip prompts and use default values. Always set to true for MCP tools.'
|
|
||||||
),
|
|
||||||
projectRoot: z
|
projectRoot: z
|
||||||
.string()
|
.string()
|
||||||
.describe(
|
.describe(
|
||||||
|
|||||||
@@ -34,12 +34,7 @@ export function registerRulesTool(server) {
|
|||||||
.string()
|
.string()
|
||||||
.describe(
|
.describe(
|
||||||
'The root directory of the project. Must be an absolute path.'
|
'The root directory of the project. Must be an absolute path.'
|
||||||
),
|
)
|
||||||
yes: z
|
|
||||||
.boolean()
|
|
||||||
.optional()
|
|
||||||
.default(true)
|
|
||||||
.describe('Run non-interactively (default: true).')
|
|
||||||
}),
|
}),
|
||||||
execute: withNormalizedProjectRoot(async (args, { log, session }) => {
|
execute: withNormalizedProjectRoot(async (args, { log, session }) => {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user