Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save and restore a wizard flow #311

Open
soywod opened this issue Apr 3, 2024 · 1 comment
Open

Save and restore a wizard flow #311

soywod opened this issue Apr 3, 2024 · 1 comment

Comments

@soywod
Copy link

soywod commented Apr 3, 2024

I have a tool called Himalaya, a CLI to manage emails. The configuration is based on a TOML file. Recently I introduce a wizard module, based on you great lib, that help new users to create their own TOML configuration file. So far so good, except that it takes a while to set up an account. If a user exits the wizard flow (either by accident, or if he did a mistake in the form), he needs to start all over again. And the Himalaya wizard flow is quite long. So I try to find a way to be able to save and restore a wizard.

I have an idea on how to implement it, but I wanted to know first if you would be interested in such PR? Not sure if it is part of the dialoguer lib, or if it should be another lib.

@soywod
Copy link
Author

soywod commented Apr 3, 2024

Another small first task could be to be able to navigate between prompts. For example to going backward in case of mistake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant