2019-05-14 18:48:48 -04:00
|
|
|
export declare type PromptOptions = {
|
|
|
|
choice?: Array<string>;
|
|
|
|
defaultChoice?: string;
|
|
|
|
mask?: string;
|
|
|
|
};
|
|
|
|
export declare function getProgressBar(action: string): (percent: number) => void;
|
|
|
|
export declare function getPassword(prompt: string): Promise<string>;
|
|
|
|
export declare function getMessage(prompt: string): Promise<string>;
|
|
|
|
export declare function getChoice(prompt: string, choices: string, defaultChoice?: string): Promise<string>;
|
2021-01-19 05:22:54 -05:00
|
|
|
//# sourceMappingURL=prompt.d.ts.map
|