yo icon indicating copy to clipboard operation
yo copied to clipboard

Hide private subgenerator namespaces

Open SBoudrias opened this issue 9 years ago • 3 comments

With composability becoming more common, we end up with some very specific subgenerators that may clutter the yo gen --help interface. We should probably offer a way to hide some "private" subgenerator in that screen.

My initial thought is to hide any subgenerator name starting with an underscore.

SBoudrias avatar Aug 11 '15 07:08 SBoudrias

Hi, I want to take this issue, can you point me to the code that manages this

elevenpassin avatar Nov 03 '17 03:11 elevenpassin

Hej @buoyantair, you should have a look over here: https://github.com/yeoman/yo/blob/master/lib/routes/install.js#L51-L62

Do you know how to run your locally changed version of yo? You could use npm link or yarn link to accomplish that.

You might want to create a generator to test this with generator-generator which you can also use via npm link.

mischah avatar Nov 03 '17 07:11 mischah

Hey, can i work on this issue.

pakya-1909 avatar Aug 29 '20 03:08 pakya-1909