MCPcopy Create free account
hub / github.com/bombshell-dev/clack / PromptGroupOptions

Interface PromptGroupOptions

packages/prompts/src/group.ts:18–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 * Options for the {@link group} utility.
17 */
18export interface PromptGroupOptions<T> {
19 /**
20 * Called when any one of the prompts is canceled.
21 */
22 onCancel?: (opts: { results: Prettify<Partial<PromptGroupAwaitedReturn<T>>> }) => void;
23}
24
25/**
26 * A group of prompts to be displayed sequentially, with each prompt receiving

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected