Skip to main content
Version: 0.21.0

Function: askForText()

function askForText(runDir, prompt): Promise<string>;

Defined in: core/hooks/humanInput.ts:26

A free-text answer, through the port's askText() (or askDecision() when it has none) and the response file: trimmed, with its case kept.

Parameters​

ParameterType
runDirstring
promptApprovalPrompt

Returns​

Promise<string>