You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 5, 2022. It is now read-only.
My prompt has 2 questions, second depends on the first, testing when I pass an option to the first one and the second is not necessary Im getting an error
saofile.js
prompts(){return[{name: 'group',message: 'Choose a group?',type: 'list',default: 'none',choices: ['none','one','two']},{name: 'newGroup',message: 'New group name?',default: 'Other',when: ({ group })=>group==='none',required: true}]},