new Input(options): Input
Input
| Property | Modifier | Type | Default value |
|---|
checkbox | public
| <Value>(config: object, context?: Context) => Promise<Value[]> & object | checkbox
|
confirm | public
| Prompt<boolean, ConfirmConfig>
| confirm
|
editor | public
| Prompt<string, EditorConfig>
| editor
|
expand | public
| <Value>(config: object, context?: Context) => Promise<Value> & object | expand
|
input | public
| Prompt<string, InputConfig>
| input
|
number | public
| Prompt<number, NumberConfig>
| number
|
options | public
| InputOptions
| {}
|
password | public
| Prompt<string, PasswordConfig>
| password
|
rawlist | public
| <Value>(config: object, context?: Context) => Promise<Value> & object | rawlist
|
search | public
| <Value>(config: object, context?: Context) => Promise<Value> & object | search
|
select | public
| <Value>(config: object, context?: Context) => Promise<Value> & object | select
|
Separator | public
| typeof Separator | Separator
|
separator(separator?): Separator
| Parameter | Type |
|---|
separator?
| string
|
Separator