     # copy the content of the variable into file
     fs.outputFileSync(destPath, contents)
 
+
+
   ###
   Generate the scaffold base on a template
   ###
   @_newTemplate: (dir, options, templatePath, cb) =>
-    SCOPE.APP    = "#{dir}/#{options.name}"
+
+    SCOPE.APP = "#{dir}/#{options.name}"
     wrench.copyDirSyncRecursive templatePath, SCOPE.APP,
-      forceDelete: true
-      exclude    : TEMPLATE.REGEX
+      forceDelete : true
+      exclude     : TEMPLATE.REGEX
 
     @_copyTemplate "#{templatePath}/#{template}", options for template in TEMPLATE.FILES
 

      moduleList = (require configFile).modules
      moduleList.push args.moduleName
      fs.writeFileSync configFile, "module.exports.modules = #{JSON.stringify(moduleList)}"
    args.cb?()


  ###

  ###
  @newBase: (dir, options, cb) =>
    args = Args([
      {dir  : Args.STRING   | Args.Optional, _default: "#{process.cwd()}"}
      {opts : Args.OBJECT   | Args.Optional, _default: OPTIONS           }
      {cb   : Args.FUNCTION | Args.Optional, _default: undefined         }
    ], arguments)

    @_newTemplate(args.dir, args.opts, TEMPLATE.BASE, args.cb)



