Enquirer multi-step prompts
See original GitHub issueAwesome work on bringing old listr back to life!
One small nuance that is pretty annoying though: currently listr2 does not have support for multi-step enquirer prompts. It would be amazing, if this feature could be added.
{
title: "Configure",
task: async (ctx, task) => {
ctx.input = await task.prompt([
{
type: 'input',
name: 'name',
message: 'What is your name?'
},
{
type: 'input',
name: 'username',
message: 'What is your username?'
}
]);
},
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (9 by maintainers)
Top Results From Across the Web
Generators | Hygen
Advanced Interactive Prompt#. It's possible to create a a multi-step prompt where you ask some questions, run some computation and ask some more...
Read more >How To Create Interactive Command-line Prompts with ...
Learn how to add interactive command-line prompts to your Node.js scripts using the Inquirer.js npm package.
Read more >Western Hills Press 02/24/21 by Enquirer Media - Issuu
WESTERN HILLS PRESS Your Community Press newspaper serving Western Hills, Cheviot, Green Township and other West Cincinnati neighborhoods.
Read more >united states - government & politics
the Cincinnati Enquirer, Columbus Dispatch, and Lexington Herald-Leader. ... multistep, and often year-long process that begins with a budget proposal.
Read more >The Hillbilly Speaks of Rhetoric: Critical Theory, Composition ...
1 In 1994 the National Enquirer published a story about Erbacon, ... Beech's particular brand of critical pedagogy asks students to consider and....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I might open a pull request to enquirer in upcoming days. I will close this issue again for now.
🎉 This issue has been resolved in version 2.1.0 🎉
The release is available on:
Your semantic-release bot 📦🚀