feat: 添加仅英文提交信息支持 #10
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
feat: 添加仅英文提交信息支持
only_english配置选项以补充现有的only_chinese设置only_english优先级高于only_chinese--only-english命令行参数refactor: 重构提交消息提示词生成系统
使用枚举驱动架构替换复杂的匹配模式处理,提高可维护性。添加 LanguageMode枚举来管理英文、中文和双语消息生成模式。将提示词模板提取为常量,创建统一的 build_prompt 函数以消除代码重复并提高可读性。
docs: 更新语言选项的CLI文档