alwaysai
Version:
The alwaysAI command-line interface (CLI)
7 lines • 405 B
TypeScript
import prompts = require('prompts');
declare type Questions<T extends string> = prompts.PromptObject<T>[];
export declare function getNonInteractiveStreamName(): "stdin" | "stdout" | undefined;
export declare function checkTerminalIsInteractive(): void;
export declare function prompt<T extends string>(questions: Questions<T>): Promise<prompts.Answers<T>>;
export {};
//# sourceMappingURL=prompt.d.ts.map