Function renderAutocompletePrompt

  • Renders an autocomplete prompt to the console.

    Type Parameters

    • T

    Parameters

    Returns Promise<T>

    Example

    ?  Select a template:   Type to search...

    Info message title

    Info message body

    > first
    second
    third
    fourth
    fifth
    sixth
    seventh
    eighth
    ninth
    tenth
    eleventh
    twelfth
    thirteenth
    fourteenth
    fifteenth
    sixteenth
    seventeenth
    eighteenth
    nineteenth (disabled)
    twentieth
    twenty-first
    twenty-second
    twenty-third
    twenty-fourth
    twenty-fifth

    Press ↑↓ arrows to select, enter to confirm.