# uutools **Repository Path**: orz365/uutools ## Basic Information - **Project Name**: uutools - **Description**: 根据配置文件,打包vue的zip和tar包 - **Primary Language**: NodeJS - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-10-25 - **Last Updated**: 2024-02-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # uutools说明 通过配置,将源文件内容参数替换到目标文件中,主要针对nginx和docker的配置文件生成工作。 ## uutools build ### 1. 构建vite或vue-cli项目 ```bash uutools build [mode] ``` ### 2. 构建并生成docker镜像 ```bash uutools build [mode] --docker ``` ### 3. 构建并生成dist的压缩包 ```bash uutools build [mode] --zip ``` ## uutools init ### 1. 生成uutools.config.js基础配置 ```bash uutools init ``` ### 2. 生成Dockerfie文件 ```bash uutools init docker ``` ### 3. 生成.prettier格式化配置文件 ```bash uutools init prettier ``` ## uutools create ### 1. 创建vue3模板 ```bash uutools create dirname --template vue3 ``` ### 2. 创建基础crud模板 ```bash uutools create dirname --template vue2-crud ``` ## uutools git 统计git提交代码量 ### 默认统计所有提交人当月总数 ```bash uutools git ``` ### 指定提交人 ```bash uutools git --user xxxx ``` ### 指定时间范围统计 ```bash uutools git --before 2023-12-31 --after 2023-12-01 ``` ### 指定年份统计总数 ```bash uutools git --year 2023 ``` ### 指定年、月统计数据 指定了month,未指定year则默认今年的 ```bash uutools git --year 2023 --month 1,2,3 ```