The list to search
Optional
options: ISearchPromptOptionsoptions
Optional
listeners: Optionsthe user input, its resulting matches, the match selected by the user
Returns 1 100% matches always from beginning of searched strings/words 2 100% matches anywhere in the searched strings/words
If the first category can be narrowed down to exactly one result, then it is immediately returned and the other category discarded.
Generated using TypeDoc
Start a command-line prompt in which the user can search a provided list.