From 6024af3aa0ccd4aa13ae0f23658e33434b7e1140 Mon Sep 17 00:00:00 2001 From: jackwener Date: Tue, 17 Mar 2026 15:58:53 +0800 Subject: [PATCH] docs: split doctor --fix into interactive and non-interactive examples --- README.md | 3 ++- README.zh-CN.md | 3 ++- SKILL.md | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 84fefb0..d744f9c 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/README.zh-CN.md b/README.zh-CN.md index 69fc9c8..d69d082 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -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 # 无交互直接修复所有配置 ``` ## 快速开始 diff --git a/SKILL.md b/SKILL.md index 43acb00..0430438 100644 --- a/SKILL.md +++ b/SKILL.md @@ -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