mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-10 08:05:14 +02:00
11 lines
250 B
TypeScript
11 lines
250 B
TypeScript
import { spinner } from '@clack/prompts';
|
|
|
|
export interface KtxCliSpinner {
|
|
start(message: string): void;
|
|
stop(message: string): void;
|
|
error(message: string): void;
|
|
}
|
|
|
|
export function createClackSpinner(): KtxCliSpinner {
|
|
return spinner();
|
|
}
|