docs(zh-cn): align install guide review wording
我在安装指南中补充目录结构示例说明,明确工具相关目录会随所选平台变化,避免读者误以为 .claude/.cursor 一定同时存在。 我同时统一非交互式安装文档里残留的“标志”表述为“参数”,让术语在全文保持一致并降低理解成本。 Feishu: <https://www.feishu.cn/> Made-with: Cursor
This commit is contained in:
parent
e88ae1288c
commit
429e5f7b16
|
|
@ -76,6 +76,9 @@ npx github:bmad-code-org/BMAD-METHOD install
|
||||||
|
|
||||||
## 你将获得
|
## 你将获得
|
||||||
|
|
||||||
|
以下目录结构仅作示例。工具相关目录会随你选择的平台变化(例如可能是
|
||||||
|
`.claude/skills`、`.cursor/skills` 或 `.kiro/skills`),并不一定会同时出现。
|
||||||
|
|
||||||
```text
|
```text
|
||||||
your-project/
|
your-project/
|
||||||
├── _bmad/
|
├── _bmad/
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "非交互式安装"
|
title: "非交互式安装"
|
||||||
description: 使用命令行标志安装 BMad,适用于 CI/CD 流水线和自动化部署
|
description: 使用命令行参数安装 BMad,适用于 CI/CD 流水线和自动化部署
|
||||||
sidebar:
|
sidebar:
|
||||||
order: 2
|
order: 2
|
||||||
---
|
---
|
||||||
|
|
@ -67,8 +67,8 @@ sidebar:
|
||||||
|
|
||||||
| 模式 | 描述 | 示例 |
|
| 模式 | 描述 | 示例 |
|
||||||
|------|-------------|---------|
|
|------|-------------|---------|
|
||||||
| 完全非交互式 | 提供所有标志以跳过所有提示 | `npx bmad-method install --directory . --modules bmm --tools claude-code --yes` |
|
| 完全非交互式 | 提供所有参数以跳过所有提示 | `npx bmad-method install --directory . --modules bmm --tools claude-code --yes` |
|
||||||
| 半交互式 | 提供部分标志;BMad 提示其余部分 | `npx bmad-method install --directory . --modules bmm` |
|
| 半交互式 | 提供部分参数;BMad 提示其余部分 | `npx bmad-method install --directory . --modules bmm` |
|
||||||
| 仅使用默认值 | 使用 `-y` 接受所有默认值 | `npx bmad-method install --yes` |
|
| 仅使用默认值 | 使用 `-y` 接受所有默认值 | `npx bmad-method install --yes` |
|
||||||
| 不包含工具 | 跳过工具/IDE 配置 | `npx bmad-method install --modules bmm --tools none` |
|
| 不包含工具 | 跳过工具/IDE 配置 | `npx bmad-method install --modules bmm --tools none` |
|
||||||
|
|
||||||
|
|
@ -141,7 +141,7 @@ BMad 会验证你提供的所有参数:
|
||||||
|
|
||||||
:::tip[最佳实践]
|
:::tip[最佳实践]
|
||||||
- 为 `--directory` 使用绝对路径以避免歧义
|
- 为 `--directory` 使用绝对路径以避免歧义
|
||||||
- 在 CI/CD 流水线中使用前先在本地测试标志
|
- 在 CI/CD 流水线中使用前先在本地测试参数
|
||||||
- 结合 `-y` 实现真正的无人值守安装
|
- 结合 `-y` 实现真正的无人值守安装
|
||||||
- 如果在安装过程中遇到问题,使用 `--debug`
|
- 如果在安装过程中遇到问题,使用 `--debug`
|
||||||
:::
|
:::
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue