text: const { prompt } = require('enquirer');
  const getPackageNames = require('../getPackageNames');
  const promptPackageMultiselect = require('../promptPackageMultiSelect');
  const promptPackageInput = require('../promptPackageInput');
  
  module.exports = message =>
    prompt({
      message,
      type: 'select',
      name: 'method',
      choices: [
        'Choose from a list of all packages',
        'Enter a comma separated list of package names',
      ],
    }).then(({ method }) => {
      return method === 'Choose from a list of all packages'
        ? promptPackageMultiselect(getPackageNames())
        : promptPackageInput();
    });
  