UNPKG

rynex

Version:

A minimalist TypeScript framework for building reactive web applications with no virtual DOM

45 lines 1.11 kB
/** * Interactive CLI Prompts * Minimal, colorful prompts for Rynex CLI */ /** * Select from a list of options */ export declare function select(message: string, choices: Array<{ value: string; label: string; description?: string; }>, defaultValue?: string): Promise<string>; /** * Confirm yes/no question */ export declare function confirm(message: string, defaultValue?: boolean): Promise<boolean>; /** * Text input */ export declare function input(message: string, defaultValue?: string): Promise<string>; /** * Display success message */ export declare function success(message: string): void; /** * Display info message */ export declare function info(message: string): void; /** * Display warning message */ export declare function warn(message: string): void; /** * Display error message */ export declare function error(message: string): void; /** * Display welcome banner */ export declare function banner(): void; /** * Display next steps */ export declare function nextSteps(projectName: string, useTypeScript: boolean): void; //# sourceMappingURL=prompts.d.ts.map