commitizen / commitizen/cz-cli

Feature request: Option to change the format of the scope

未关闭
#936 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
17.5k
派生
566
平均合并
8 小时 16 分钟
30 天内合并 PR
1

描述

By default it would look something this:
`feat(TI-05): ✨ added the new blocks container`

However how i need it is like this:
`feat: TI-05 - added the new blocks container`

is it possible to add a option to determine the scope, something like this:
```json
{
scopeFormat: "(scope):" // would be the default
}
```
but by changing this to this:
```json
{
scopeFormat: " :scope" // would be the default
}
```
would result in: `feat: TI-05 - added the new blocks container`

贡献指南

打开贡献指南

调研方向

Start by locating cz-cli's commit-message formatting and configuration entry points, then trace how the current scope is rendered. Compare the existing default output with the requested alternate output and define how the option should affect both forms; done means the configured format produces the requested message without changing the default.

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, node.js
领域
cli
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。