node.js - sails generate <something>: where are the docs on 'generate'? -


sails generate controller <name> , model , api , others.

what others? options? commandline options?

insert here obligatory "i've websearched high , low" thing can come github entries individual generators in various states of ignorement.

so, abstractly, where's documentation on generate command?

the default generators shipped sails documented here, in command line interface section of reference section of sails documentation. options accepted believe section of documentation references them, sails new having option usage options.

at time of writing include new, api, model, controller, adapter, , generator.

more community created generators can added, modifying .sailsrc file include npm package. here's example sails-auth docs.

{   "generators": {     "modules": {       "auth-api": "sails-auth"     }   } } 

if want know more making own generators , goes you'd want check out sails-generate-generator repo , docs.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -