# roman-filecopy **Repository Path**: ImplementDreams/roman-filecopy ## Basic Information - **Project Name**: roman-filecopy - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-08-17 - **Last Updated**: 2022-08-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### PR ### npm install roman-filecopy ## 说明 Git地址:[roman-filecopy](https://gitee.com/roman_123/roman-filecopy) Git应用:[html-code-manager](https://gitee.com/roman_123/html-code-manager) ### 命令说明: ```javascript npm install -g 安装 或 npm install --save-dev && npm link romanc 模板名称 自定义名称 exp: romanc html xxxx 将从templates文件夹中复制一份html文件在codes文件夹下创建html项目,文件夹名称为 前缀+数字_xxxx romanc -init // 对指令所执行的文件夹进行初始化 romanc -eh/-exporthome // 导出首页,可进行修改 romanc -server //启动html浏览服务 romanc -tl/-templatelist //查询templates中的模板列表 romanc -v/-version // 版本查询 romanc -h/-help //查看帮助 ``` ### 配置文件: ```javascript { "port": 3000, // 默认端口号 "autoOpenBrowser": false, // 是否在server启动后自动启动浏览器 "codeDirName": "codes", // 存储代码的目录名称 "templateDirName": "templates", // 存储模板的目录名称 "staticDirName": "static", // 存储静态资源的目录名称 "destPrefix": "c", // 默认生成的文件名前缀 "exclude": [ "node" // 浏览器忽略在存储代码目录中的目录名称数组 ] } ```