MCPcopy Create free account
hub / github.com/msgbyte/tailchat / promptConfirm

Function promptConfirm

apps/cli/src/commands/docker/init.ts:174–185  ·  view source on GitHub ↗

* 设置更多配置的确认项

(message: string)

Source from the content-addressed store, hash-verified

172 * 设置更多配置的确认项
173 */
174async function promptConfirm(message: string): Promise<boolean> {
175 const { res } = await inquirer.prompt([
176 {
177 name: 'res',
178 type: 'confirm',
179 message,
180 default: false,
181 },
182 ]);
183
184 return res;
185}

Callers 1

handlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected