question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enquirer multi-step prompts

See original GitHub issue

Awesome 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:closed
  • Created 3 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
cenk1cenk2commented, Jun 3, 2020

I might open a pull request to enquirer in upcoming days. I will close this issue again for now.

0reactions
cenk1cenk2commented, Jun 3, 2020

🎉 This issue has been resolved in version 2.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found