mendixlabs / generator-mendix

Yeoman generator for Mendix widgets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option to start generator in folder that is NOT empty

Aelion-MM opened this issue · comments

I would like to get the option to start in a folder that is NOT empty, instead of a complete block.

For instance, when I create a Github project and load that folder locally I would like to be able to use that folder with the generator. Now, this is not possible due to the fact that Github already adds some required files making the folder filled with something.

This sounds a bit complicated. Why would you create a Github project first and then add the widget? You could easily run the widget generator and then run git init in the folder itself.

Currently it will run in a folder that is not empty, but it needs a src folder. It will only put the package.json & Gulpfile.js in the folder

Hi Jelte, not that complicated instead of blocking asking the user if they are sure they want to continue on a folder with some stuff in there, if you do not find a src folder.

I like the create new project wizard of Github that is why I have something in the folder. When I start the Mendix yo generator.