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

Improve yeoman interactive UI to list sub-generators #630

Open
lbeschastny opened this issue Sep 4, 2019 · 1 comment
Open

Improve yeoman interactive UI to list sub-generators #630

lbeschastny opened this issue Sep 4, 2019 · 1 comment

Comments

@lbeschastny
Copy link

Feature request

While yo --generators shows all available generators including sub-generators, yeoman interactive UI only work with main generators, completely ignoring sub-generators.

Interactive UI purpose is to simplify working with yeoman and installed generators. But many generators have sub-generators, which are not accessible from interactive UI.

I could think of two possible ways to include sub-generators:

  1. Sub-generators could be listed together with main generators.
  2. Alternatively, interactive UI could show a second prompt to let users chose a particular sub-generator to run in case there is more then one option available.

Similar proposal was made in #397, but the issue was closed by OP for no apparent reason,

@sindresorhus
Copy link
Member

I would go with 2. Showing them in the main list would make the list very long and noisy.

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

3 participants