Start Platform banner
chaohong-ai chaohong-ai

Start Platform

Development community

Description

--- description: 启动/停止 GameServer 排行榜服务(:22333) argument-hint: "[stop]" --- ## 参数解析 用户传入的参数:action=`$ARGUMENTS` - `stop`(不区分大小写):仅停止服务 - 空或其他值:编译并启动服务 --- ## 执行流程 ### 第一步:停止已有 GameServer 进程 ```bash powershell.exe -Command "Get-Process -Name 'gameserver' -ErrorAction SilentlyContinue | Stop-Process -Force; Write-Host 'GameServer stopped'" ``` timeout **10000**ms。 **如果 action 为 `stop`,到此结束,向用户输出"GameServer 已停止"。** --- ### 第二步:编译 GameServer Bash timeout 设置 **300000**ms(5 分钟): ```bash c

Installation

Installs to ~/.claude/commands/chaohong-ai-ai-auto-work-start-platform.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/chaohong-ai/ai-auto-work/HEAD/.claude/commands/start-platform.md -o ~/.claude/commands/chaohong-ai-ai-auto-work-start-platform.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository