madhums/node-genem — pull request #4 by rhalff (2013-05-12 12:54:23+00:00)
Title: Fix path issue

Hi madhums,

I should probably have made an issue first, anyway...

I tried to use node-genem and for me it would always try to generate the code in the current dir.

It seems like the path is always empty, because ._args is always empty, this means the path will always be '.'

For the generation of the models and views etc. I hardcoded the path to '.', effectively that's how it always worked accidently.

For the init option I took the app name as path, for this is what one would expect.

If you don't know what I'm talking about or have a better sollution yourself, feel free to deny this request :-)

Greetings,
Rob Halff