Is there a way to use previous answers in inquirer when presenting a prompt?
问题 So what I want to do is use a previous answer when asking a question further down the line. Basically so that I can show a summary of what will be created and ask for a verification. this.prompt([ { type: 'input', name: 'name', message: 'What is your name?' default: 'Jake' }, { type: 'confirm', name: 'summary', message: 'Is this information correct? Your name is:' + answers.name', } is there an easy way to achieve this? Or another way to achieve a summary type thing that lists out all