Found 3 other functions taking a
linenoiseCompletions
argument:
Callback which provides command completion for linenoise library When using linenoise for line editing, command completion support can be enabled like this: linenoiseSetCompletionCallback(&esp_console_get_completion);