createString

fun createString(firstPrompt: String, secondPrompt: String, terminal: Terminal, default: String? = null, showDefault: Boolean = false, showChoices: Boolean = true, hideInput: Boolean = false, choices: List<String> = emptyList(), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from ", valueMismatchMessage: String = "Values do not match, try again"): ConfirmationPrompt<String>

Create a ConfirmationPrompt that uses StringPrompts to ask for input.

All parameters are passed to the StringPrompt constructor.