logcommit
v0.1.115
Published
根据git commit message 生成发布日志的终端工具(Command line tool for generating a changelog from git commit message)
Downloads
40
Readme
logcommit
背景
根据commit快速输出changelog,支持按照人、action筛选输出md文档或html文档
Github地址:https://github.com/CapDuan/logcommit
✨注意
提交信息需要按照 Git angular提交规范提交,缺少规范条件,会将所有commit信息归类到其他
Installation & 安装
yarn add logcommitor & 或
npm install logocmmitUsage & 使用
默认查看
yarn run logcommit
or
npm run logcommit默认输出
yarn run logcommit > changelog.md指定「作者>「开始统计时间>「结束统计时间>输出到「changelog.md」
logcommit -at <author> -sd <startDate> -ed <endDate> > changelog.md
参数
Usage: logcommit [options]
Options:
-at, --author <author> 筛选作者
-sd, --startDate <startDate> 起始时间
-ed, --endDate <endDate> 结束时间
-h, --help
会输出文件changlog到根目录下
第一期计划
支持根据
feat:新增业务功能
fix:修复bug
docs:文档修改
style:代码格式化
refactor:重构代码,对原有功能原则上无感。
perf:性能优化
test:增加测试
chore:源码文档无关修改
build:构建相关
ci:持续继承相关
revert:回退
字段解析成对应MD文件
