mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-29 07:01:40 +03:00
Docs: update zh-CN translations and pipeline
What: - update zh-CN glossary, TM, and translator prompt - regenerate zh-CN docs and apply targeted fixes - add zh-CN AGENTS pipeline guidance Why: - address terminology/spacing feedback from #6995 Tests: - pnpm build && pnpm check && pnpm test
This commit is contained in:
@@ -1,20 +1,21 @@
|
||||
---
|
||||
read_when:
|
||||
- 你想以非交互方式读取或编辑配置
|
||||
summary: "`openclaw config` 的 CLI 参考(获取/设置/删除配置值)"
|
||||
summary: "`openclaw config` 的 CLI 参考(获取/设置/取消设置配置值)"
|
||||
title: config
|
||||
x-i18n:
|
||||
generated_at: "2026-02-01T19:58:45Z"
|
||||
generated_at: "2026-02-03T10:04:13Z"
|
||||
model: claude-opus-4-5
|
||||
provider: pi
|
||||
source_hash: d60a35f5330f22bc99a0df090590586109d329ddd2ca294aeed191a22560c1c2
|
||||
source_path: cli/config.md
|
||||
workflow: 14
|
||||
workflow: 15
|
||||
---
|
||||
|
||||
# `openclaw config`
|
||||
|
||||
配置辅助工具:通过路径获取/设置/删除值。不带子命令运行时将打开配置向导(与 `openclaw configure` 相同)。
|
||||
配置辅助命令:通过路径获取/设置/取消设置值。不带子命令运行将打开
|
||||
配置向导(与 `openclaw configure` 相同)。
|
||||
|
||||
## 示例
|
||||
|
||||
@@ -28,14 +29,14 @@ openclaw config unset tools.web.search.apiKey
|
||||
|
||||
## 路径
|
||||
|
||||
路径使用点号或方括号表示法:
|
||||
路径使用点号或括号表示法:
|
||||
|
||||
```bash
|
||||
openclaw config get agents.defaults.workspace
|
||||
openclaw config get agents.list[0].id
|
||||
```
|
||||
|
||||
使用智能体列表索引来指定特定智能体:
|
||||
使用智能体列表索引来定位特定智能体:
|
||||
|
||||
```bash
|
||||
openclaw config get agents.list
|
||||
@@ -44,7 +45,7 @@ openclaw config set agents.list[1].tools.exec.node "node-id-or-name"
|
||||
|
||||
## 值
|
||||
|
||||
值会尽可能按 JSON5 解析;否则视为字符串。
|
||||
值会尽可能解析为 JSON5;否则将被视为字符串。
|
||||
使用 `--json` 强制要求 JSON5 解析。
|
||||
|
||||
```bash
|
||||
@@ -53,4 +54,4 @@ openclaw config set gateway.port 19001 --json
|
||||
openclaw config set channels.whatsapp.groups '["*"]' --json
|
||||
```
|
||||
|
||||
编辑后请重启 Gateway网关。
|
||||
编辑后请重启 Gateway 网关。
|
||||
|
||||
Reference in New Issue
Block a user