Sails' generators allow you to completely customize what happens when you run
sails new and
sails generate from the command-line. Custom generators make it possible to standardize the way your team or organization creates new Sails apps, as well as new modules within existing apps. Custom generators can be used to do all sorts of cool things:
If you are interested in making custom generators, the best place to start is by checking out the introduction to custom generators. You also might check out open-source generators from the community, in case something already out there will save you some time.