@mondaycom/apps-cli
Version:
A cli tool to manage apps (and monday-code projects) in monday.com
17 lines (16 loc) • 1.19 kB
TypeScript
import { SelectionWithAutoCompleteOptions } from '../types/services/prompt-service.js';
export declare function validateIfValueIsANumber(input: string, message: string, isRequired?: boolean): boolean | string;
export declare const PromptService: {
promptList(message: string, choices: string[], defaultValue?: string): Promise<string>;
promptDateTimePicker(message: string, selectedDate?: Date, options?: any): Promise<Date>;
promptConfirm(message: string, defaultValue?: boolean): Promise<boolean>;
promptForEmail(message?: string): Promise<string>;
promptForHiddenInput(name: string, message: string, validationMessage: string): Promise<string>;
promptForPassword(): Promise<string>;
promptInput(message: string, required?: boolean, allowUndefined?: boolean): Promise<string>;
promptInputNumber(message: string, required?: boolean, allowUndefined?: boolean): Promise<number>;
promptFile(message: string, extensions: string[]): Promise<string>;
promptSelectionWithAutoComplete<T>(message: string, choices: string[], options?: SelectionWithAutoCompleteOptions): Promise<T>;
appVersionPrompt(): Promise<number>;
appPrompt(): Promise<number>;
};