src/Viserio/Component/Console/Command/AbstractCommand.php
public function anticipate(string $question, array $choices, string $default = null): ?string
    {
        return $this->askWithCompletion($question, $choices, $default);
    }
public function anticipate(string $question, array $choices, string $default = null): ?string
    {
        return $this->askWithCompletion($question, $choices, $default);
    }
Prompt the user for input with auto completion.

@param string $question
@param array  $choices
@param string $default

@return null|string