function requireProjects() {
  util.listProjects();

  _.forEach(projects, function (project) {
    var pathResolved = path.resolve(__dirname, '.' + path.sep, path.join('projects', project, 'index'));
    require(pathResolved);
  });
}
/**
 * Require all the generator projects in the `./lib/generator/projects` folder.
 * This is used to populate the cli menu with the projects to generate.
 */
Require all the generator projects in the `./lib/generator/projects` folder.
This is used to populate the cli menu with the projects to generate.
Require all the generator projects in the ` . / lib / generator / projects ` folder . This is used to populate the cli menu with the projects to generate .
function requireProjects() {
  util.listProjects();
  _.forEach(projects, function (project) {
    var pathResolved = path.resolve(__dirname, '.' + path.sep, path.join('projects', project, 'index'));
    require(pathResolved);
  });
}
function requireProjects ( ) { util . listProjects ( ) ; _ . forEach ( projects , function ( project ) { var pathResolved = path . resolve ( __dirname , '.' + path . sep , path . join ( 'projects' , project , 'index' ) ) ; require ( pathResolved ) ; } ) ; }
Require all the generator projects in the `./lib/generator/projects` folder.
Require all the generator projects in the ` . / lib / generator / projects ` folder .