src/index.js
function writeFileSync(templateName, templateOption, filename) {
  var templateString = fs.readFileSync(path.join(__dirname, '/templates/' + templateName), 'utf8');
  fs.writeFileSync(path.join(projectDirectory, filename), Mustache.render(templateString, templateOption));
}
function writeFileSync(templateName, templateOption, filename) {
  var templateString = fs.readFileSync(path.join(__dirname, '/templates/' + templateName), 'utf8');
  fs.writeFileSync(path.join(projectDirectory, filename), Mustache.render(templateString, templateOption));
}
function writeFileSync ( templateName , templateOption , filename ) { var templateString = fs . readFileSync ( path . join ( __dirname , '/templates/' + templateName ) , 'utf8' ) ; fs . writeFileSync ( path . join ( projectDirectory , filename ) , Mustache . render ( templateString , templateOption ) ) ; }
Writes the file to the output folder
Writes the file to the output folder