• Overview
  • Transcript

2.11 Generator Options in Grunt

Once you have a basic understanding of how to create a generator, you need to start flexing your generator to accomodate the user’s choices and requirements. The same way you customize your Angular, Backbone or Ember app, you should provide the same flexibility to your own generator. For that purpose, we’ll learn how to extract possible options in our generated Gruntfile.js file so that the end user may change them in the future without messing with your generator.