inquirer@8.1.0
New features
- Now display a loading spinner while asynchronously filtering or validating data.
inquirer.prompt()
now accept a shorthand object syntax instead of an array withname
d prompts:
const { foo, bar } = await inquirer.prompt({
foo: {
message: '...',
default: '...',
},
bar: {
default: '...',
}
}):