A collection of common interactive command line user interfaces.
MIT License
Bot releases are hidden (Show)
Inquirer is now a native Node ECMAScript module. This will require your Node runtime to support es modules, and your app to be an es module. Node documentation over here: https://nodejs.org/api/esm.html#modules-ecmascript-modules
If you cannot migrate, please remember you can keep using the v8.x release line until you're ready.
And bump of all dependencies.
inquirer.prompt()
now accept a shorthand object syntax instead of an array with name
d prompts:const { foo, bar } = await inquirer.prompt({
foo: {
message: '...',
default: '...',
},
bar: {
default: '...',
}
}):
Fixes
expand
prompt not being caught if casing didn't matchrawlist
prompt ignoring short
optionAnd lastly general dependency upgrade (to non-ESM versions)