khattakdev / mongoose-schema-cli

A CLI to generate your MongoDB Schema.
4 stars 1 forks source link

File Path #22

Closed khattakdev closed 4 years ago

khattakdev commented 4 years ago

Right now the schema file is created in the project root directory. It should be actually created in model by default. The user should be able to give a custom path if he wants to

Like this

$ msc
? Please input Schema name user
? Please input Schema Folder secretmodels

This will create user.js in secretmodels folder.