text: const inquirer = require('inquirer');
  const { companies = [] } = require('../companies.config');
  
  module.exports = {
  	pick: () => {
  		return inquirer
  			.prompt([
  				{
  					type: 'list',
  					name: 'company',
  					message: 'Pick a company to work on?',
  					choices: companies,
  					filter(option) {
  						return option.toLowerCase();
  					},
  				},
  			])
  			.then((answers) => answers);
  	},
  	confirm: () => {
  		return inquirer
  			.prompt([
  				{
  					type: 'list',
  					name: 'confirmation',
  					message: 'Are you sure?',
  					choices: ['No', 'Yes'],
  					filter(option) {
  						return option.toLowerCase();
  					},
  				},
  			])
  			.then((answer) => answer);
  	},
  };
  