def choice(self, question, choices, default=None, attempts=None, multiple=False):
        question = ChoiceQuestion(question, choices, default)

        question.max_attempts = attempts
        question.multiselect = multiple

        return self.output.ask_question(question)
Give the user a single choice from an list of answers.
dataset/ETHPy150Open sdispater/cleo/cleo/commands/command.py/Command.choice