plopjs / plop

Consistency Made Simple
http://plopjs.com
MIT License
7.14k stars 278 forks source link

Display description when running plop for a specific generator #186

Open tvvignesh opened 5 years ago

tvvignesh commented 5 years ago

Hi there. Really love plop. It is making my job a lot easier now. Was wondering one thing though.

How do we get the cli to display the description for a generator before asking for all the prompts? The description is anyways in the plopfile. It would be great if we can display it in the CLI so that the person running the command would get an idea then and there rather than having to check the plopfile.

Thanks.

amwmedia commented 4 years ago

Do you have only 1 generator in your plopfile? if so, plop will bypass the generator selection screen so you wouldn't see it. Valid point though, in this case it might be good to still have a visual indicator for context before prompting.

tvvignesh commented 4 years ago

Do you have only 1 generator in your plopfile? if so, plop will bypass the generator selection screen so you wouldn't see it. Valid point though, in this case it might be good to still have a visual indicator for context before prompting.

Hi. Sorry. Seeing your reply after 1 year 😅 Yup I had 1 generator before (now have multiple). When there is only 1 generator, prompts are not shown. Its fine though. Loving plop 💗

crutchcorn commented 2 years ago

This is related to #140 in the category of "Behavior of single generator behavior might need to change"