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

harmonic init/config: list available preprocessors instead of asking user to type #68

Open
UltCombo opened this issue Oct 16, 2014 · 2 comments

Comments

@UltCombo
Copy link
Member

Prompting from a list of choices, such as Inquirer.js's List prompt, would be useful for the preprocessor selection.

I guess co-prompt does not support this feature.

@jaydson
Copy link
Contributor

jaydson commented Oct 16, 2014

That's an great idea.
We can do this for any kind of list choices, like template, for example.
We need to check how inquirer will behave together with co-prompt and vice-versa.

@UltCombo
Copy link
Member Author

Inquirer is very versatile, though it is mostly asynchronous (no yielding).
Not sure if it would be smart to have two dependencies that do basically the same thing.
So yeah, we'd most likely have to rewrite the current prompts in order to migrate to Inquirer. Though it shouldn't be too hard of a task either.

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

No branches or pull requests

2 participants