MCPcopy Create free account
hub / github.com/echoVic/blade-code / quickConfirm

Method quickConfirm

src/ui/components/Input.ts:244–249  ·  view source on GitHub ↗

* 快速确认(带默认值)

(
    message: string,
    defaultValue: boolean = true
  )

Source from the content-addressed store, hash-verified

242 * 快速确认(带默认值)
243 */
244 public static async quickConfirm(
245 message: string,
246 defaultValue: boolean = true
247 ): Promise<boolean> {
248 return this.confirm(message, { default: defaultValue });
249 }
250
251 /**
252 * 快速选择(带常用选项)

Callers

nothing calls this directly

Calls 1

confirmMethod · 0.95

Tested by

no test coverage detected