Something like this would be nice:
$ carbon generate MongoDBCollection contacts firstName:string:required lastName:string email:string phoneNumbers:{home:string work:string mobile:string}
This would generate a file called contacts.js which contains both the collection and service and could be run with node contacts
Something like this would be nice:
$ carbon generate MongoDBCollection contacts firstName:string:required lastName:string email:string phoneNumbers:{home:string work:string mobile:string}
This would generate a file called
contacts.js
which contains both the collection and service and could be run withnode contacts