mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-15 06:23:28 +08:00
docs(zh-CN): sync Chinese docs with latest upstream changes (#341)
* docs(zh-CN): sync Chinese docs with latest upstream changes * docs(zh-CN): update link --------- Co-authored-by: neo <neo.dowithless@gmail.com>
This commit is contained in:
30
docs/zh-CN/commands/quality-gate.md
Normal file
30
docs/zh-CN/commands/quality-gate.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# 质量门命令
|
||||
|
||||
按需对文件或项目范围运行 ECC 质量管道。
|
||||
|
||||
## 用法
|
||||
|
||||
`/quality-gate [path|.] [--fix] [--strict]`
|
||||
|
||||
* 默认目标:当前目录 (`.`)
|
||||
* `--fix`:在已配置的地方允许自动格式化/修复
|
||||
* `--strict`:在支持的地方警告即失败
|
||||
|
||||
## 管道
|
||||
|
||||
1. 检测目标的语言/工具。
|
||||
2. 运行格式化检查。
|
||||
3. 在可用时运行代码检查/类型检查。
|
||||
4. 生成简洁的修复列表。
|
||||
|
||||
## 备注
|
||||
|
||||
此命令镜像了钩子行为,但由操作员调用。
|
||||
|
||||
## 参数
|
||||
|
||||
$ARGUMENTS:
|
||||
|
||||
* `[path|.]` 可选的目标路径
|
||||
* `--fix` 可选
|
||||
* `--strict` 可选
|
||||
Reference in New Issue
Block a user