docs: Update README with detailed interactive version selection menu

Enhanced installation documentation with complete menu examples:

Added Sections:
- Interactive Version Selection section with full menu display
- Real-time version detection explanation
- Detailed version options descriptions
- Pro tips for users

Menu Example Included:
- Shows actual menu layout with version numbers
- Displays release dates and commit information
- Shows all three version options with descriptions
- Includes recent version list for reference

Documentation Improvements:
- Moved from simple bullet points to full interactive example
- Added ASCII menu visualization
- Explained automatic version detection from GitHub API
- Provided clear guidance on each version option
- Added Pro Tip about default selection

Both English and Chinese Versions:
- README.md: Complete English documentation
- README_CN.md: Complete Chinese translation
- Consistent formatting and examples

Key Information Displayed:
1. Latest Stable Release
   - Version number (e.g., v3.2.0)
   - Release date with UTC timezone
   - Production-ready indicator

2. Latest Development Version
   - Branch name (main)
   - 7-character commit SHA
   - Last update timestamp
   - Feature and stability warnings

3. Specific Release Version
   - Manual version selection
   - List of recent versions
   - Use case for controlled deployments

User Benefits:
- Clear understanding of version selection process
- Visual preview of installation menu
- Informed decision making about version choice
- Reduced installation confusion

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
catlog22
2025-10-02 12:53:33 +08:00
parent 0a85e98fdb
commit 0b63465e5a
2 changed files with 80 additions and 8 deletions

View File

@@ -49,10 +49,46 @@ Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/cat
bash <(curl -fsSL https://raw.githubusercontent.com/catlog22/Claude-Code-Workflow/main/install-remote.sh)
```
> 💡 **Version Selection**: During installation, you'll be presented with an interactive menu to choose:
> - **Latest Stable Release** (Recommended) - Production-ready version
> - **Latest Development Version** - Cutting-edge features
> - **Specific Release Version** - Install a specific tagged release (e.g., v3.2.0)
### **📋 Interactive Version Selection**
After running the installation command, you'll see an interactive menu with real-time version information:
```
Detecting latest release and commits...
Latest stable: v3.2.0 (2025-10-02 04:27 UTC)
Latest commit: cdea58f (2025-10-02 08:15 UTC)
====================================================
Version Selection Menu
====================================================
1) Latest Stable Release (Recommended)
|-- Version: v3.2.0
|-- Released: 2025-10-02 04:27 UTC
\-- Production-ready
2) Latest Development Version
|-- Branch: main
|-- Commit: cdea58f
|-- Updated: 2025-10-02 08:15 UTC
|-- Cutting-edge features
\-- May contain experimental changes
3) Specific Release Version
|-- Install a specific tagged release
\-- Recent: v3.2.0, v3.1.0, v3.0.1
====================================================
Select version to install (1-3, default: 1):
```
**Version Options:**
- **Option 1 (Recommended)**: Latest stable release with verified production quality
- **Option 2**: Latest development version from main branch with newest features
- **Option 3**: Specific version tag for controlled deployments
> 💡 **Pro Tip**: The installer automatically detects and displays the latest version numbers and release dates from GitHub. Just press Enter to select the recommended stable release.
### **✅ Verify Installation**
After installation, run the following command to ensure CCW is working:

View File

@@ -49,10 +49,46 @@ Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/cat
bash <(curl -fsSL https://raw.githubusercontent.com/catlog22/Claude-Code-Workflow/main/install-remote.sh)
```
> 💡 **版本选择**:安装过程中会显示交互式菜单,您可以选择:
> - **最新稳定版**(推荐)- 生产就绪版本
> - **最新开发版** - 最新功能
> - **指定版本** - 安装特定标签版本(例如 v3.2.0
### **📋 交互式版本选择**
运行安装命令后,您将看到包含实时版本信息的交互式菜单:
```
正在检测最新版本和提交...
最新稳定版: v3.2.0 (2025-10-02 04:27 UTC)
最新提交: cdea58f (2025-10-02 08:15 UTC)
====================================================
版本选择菜单
====================================================
1) 最新稳定版(推荐)
|-- 版本: v3.2.0
|-- 发布时间: 2025-10-02 04:27 UTC
\-- 生产就绪
2) 最新开发版
|-- 分支: main
|-- 提交: cdea58f
|-- 更新时间: 2025-10-02 08:15 UTC
|-- 最新功能
\-- 可能包含实验性更改
3) 指定版本
|-- 安装特定标签版本
\-- 最近版本: v3.2.0, v3.1.0, v3.0.1
====================================================
选择要安装的版本 (1-3, 默认: 1):
```
**版本选项:**
- **选项 1推荐**:经过验证的最新稳定版本,生产环境可用
- **选项 2**:来自 main 分支的最新开发版本,包含最新功能
- **选项 3**:指定版本标签,用于受控部署
> 💡 **提示**:安装程序会自动从 GitHub 检测并显示最新的版本号和发布日期。只需按 Enter 键即可选择推荐的稳定版本。
### **✅ 验证安装**
安装后,运行以下命令以确保 CCW 正常工作: