# run-code **Repository Path**: yuxlspan/run-code ## Basic Information - **Project Name**: run-code - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-04-08 - **Last Updated**: 2026-04-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # run-code > This readme is automatically generated by [create-ink-app](https://github.com/vadimdemedes/create-ink-app) ## Install ```bash $ npm install --global run-code ``` ## CLI ### 基本用法 ```bash $ run-code --help Usage $ run-code Options --name Your name Examples $ run-code --name=Jane Hello, Jane ``` ### Web 服务管理 #### 启动 Web 服务(后台运行) ```bash $ run-code web start 🚀 正在启动 Web 服务... ✅ 服务启动成功! PID: 12345 Port: 10240 URL: http://localhost:10240 💡 提示: 使用 "run-code web stop" 停止服务 ``` #### 停止 Web 服务 ```bash $ run-code web stop 服务已停止 (PID: 12345) ``` #### 查看服务状态 ```bash $ run-code web status ✅ 服务正在运行 PID: 12345 Port: 10240 URL: http://localhost:10240 Started at: 2026-04-08T10:30:00.000Z ``` #### 前台运行(用于调试) ```bash $ run-code web 服务启动成功!欢迎访问 http://localhost:10240 ``` > **注意**: 前台运行模式会占用终端,适合开发调试使用。生产环境建议使用 `run-code web start` 后台运行。 ### 项目初始化 ```bash $ run-code init my-project 初始化一个名为 my-project 的新项目 ```