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

Interface SpinnerOptions

packages/prompts/src/spinner.ts:15–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13} from './common.js';
14
15export interface SpinnerOptions extends CommonOptions {
16 indicator?: 'dots' | 'timer';
17 onCancel?: () => void;
18 cancelMessage?: string;
19 errorMessage?: string;
20 frames?: string[];
21 delay?: number;
22 styleFrame?: (frame: string) => string;
23}
24
25export interface SpinnerResult {
26 start(msg?: string): void;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected