klaudiosinani/qoa

Interactive checklist prompt

y0hami opened this issue · 0 comments

Description

A prompt which allows users to select multiple options, inquirer already has this kind of prompt https://github.com/SBoudrias/Inquirer.js/#checkbox---type-checkbox

image

Solution?

const checklist = {
  type: 'checklist',
  query: 'What languages do you know?',
  handle: 'langs',
  menu: [
    'English',
    'French',
    'German',
    'Spanish'
  ]
};

qoa.checklist(checklist).then(log);