code: function(_path){
          var str = "";
          var x, y;
          var path= $options.snippetsName;
  
          if(!path){
              console.log("[Error] please input widget or page name!");
              return false;
          }
          
  
          for(x in $options.fileType){
              var files = $fs.readFileSync( $path.join(__dirname, "view/widget_tpl." + $options.fileType[x]), "utf8");
  
              if($options.fileType[x] == "html" || $options.fileType[x] == "css"){
                  files = snippets.fn.extTpl(files, $options.snippetsName);
              }else if($options.fileType[x] == "js"){
                  var fileName = $options.snippetsName.split("-");
                  for(y in fileName){
                      if(y == 0){
                          continue;
                      }else{
                          fileName[y] = snippets.fn.firstUpper(fileName[y]);
                      }
                  };
                  fileName = fileName.join("");
                  files = snippets.fn.extTpl(files, fileName);
              }else{
                  return;
              }
  
              snippets.fn.writeFile(path, $options.fileType[x], files);
          };
  
          console.log("[Success] "+path+" is builded success!");
      }
docs: [addFile 增加配置文件]
  @param {[type]} _path [文件路径]