code: async function requestChoice(message, items) {
    const answerName = 'requestChoice';
    const answers = await inquirer.prompt([
      {
        message,
        name: answerName,
        type: 'list',
        choices: getChoices(items),
      },
    ]);
    return answers[answerName];
  }
docs: Requests a selection of one of the given items from the user.
  
  @param {string} message The prompt message.
  @param {any[]} items The items to choose from.