docs: split doctor --fix into interactive and non-interactive examples

This commit is contained in:
jackwener committed 2026-03-17 15:58:53 +08:00
1 parent 1393ce3327
commit 6024af3aa0
3 files changed
+6 -3

No files matched your search

+2 -1
View File
@@ -91,7 +91,8 @@ Verify with `opencli doctor` — shows colored status for extension install, tok
```bash
opencli doctor # Token & config diagnosis
opencli doctor --live # Also test live browser connectivity
opencli doctor --fix -y # Auto-fix all mismatched configs
opencli doctor --fix # Fix mismatched configs (interactive confirmation)
opencli doctor --fix -y # Fix all configs non-interactively
```
## Quick Start
+2 -1
View File
@@ -90,7 +90,8 @@ export PLAYWRIGHT_MCP_EXTENSION_TOKEN="<你的-token>"
```bash
opencli doctor # Token 与配置诊断
opencli doctor --live # 额外测试浏览器连通性
opencli doctor --fix -y # 自动修复所有不一致的配置文件
opencli doctor --fix # 修复不一致的配置(交互确认)
opencli doctor --fix -y # 无交互直接修复所有配置
```
## 快速开始
+2 -1
View File
@@ -164,7 +164,8 @@ opencli validate bilibili # Validate specific site
opencli setup # Interactive token setup (auto-discover + TUI checkbox)
opencli doctor # Diagnose token & extension config across all tools
opencli doctor --live # Also test live browser connectivity
opencli doctor --fix -y # Auto-fix all config files (non-interactive)
opencli doctor --fix # Fix mismatched configs (interactive confirmation)
opencli doctor --fix -y # Fix all configs non-interactively
```
### AI Agent Workflow