inquirer-loop
v0.3.0
Published
Inquirer loop prompt
Downloads
3,118
Readme
Inquirer Loop
Inquirer loop prompt
Installation
npm install --save inquirer-loop
Usage
inquirer.registerPrompt("loop", require("inquirer-loop")(inquirer));
inquirer.prompt({
type: "loop",
name: "items",
message: "Add another item?",
questions: [
{
type: "input",
name: "key",
message: "Enter item key",
},
{
type: "input",
name: "value",
message: "Enter item value",
},
],
});
License
This project is licensed under the MIT license.
Copyright (c) KoLiBer ([email protected])