lib/scaffold.js
function readTemplate(path) {
  var template = fs.readFileSync(__dirname + '/templates/' + path, 'utf8');
  for (var index in data) {
    template = template.split('__' + index + '__').join(data[index]);
  }
  return template;
}
function readTemplate(path) {
  var template = fs.readFileSync(__dirname + '/templates/' + path, 'utf8');
  for (var index in data) {
    template = template.split('__' + index + '__').join(data[index]);
  }
  return template;
}
function readTemplate ( path ) { var template = fs . readFileSync ( __dirname + '/templates/' + path , 'utf8' ) ; for ( var index in data ) { template = template . split ( '__' + index + '__' ) . join ( data [ index ] ) ; } return template ; }
Read template files

@param {String} path
Read template files