-
BaseQuestion
<number
|string
> -
QuestionHints
-
QuestionChoices
↳
SelectQuestion
• choices: ChoiceDefinition
| ChoiceOption
[]
QuestionChoices.choices
• format: PromptsMethod
BaseQuestion.format
• hint: string
QuestionHints.hint
• initial: string
| number
| PromptsMethod
BaseQuestion.initial
• message: string
| PromptsMethod
BaseQuestion.message
• name: string
| PromptsMethod
BaseQuestion.name
• stdin: internal
BaseQuestion.stdin
• stdout: internal
BaseQuestion.stdout
• type: "select"
| PromptTypeMethod
<"select"
>
• warn: string
QuestionHints.warn
▸ onRender(this
, kluer
): void
Name | Type |
---|---|
this |
prompts |
kluer |
any |
void
BaseQuestion.onRender
▸ onState(state
): void
Name | Type |
---|---|
state |
PromptState |
void
BaseQuestion.onState