zeabur-file
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseZeabur File
Zeabur 文件
Always useto invoke Zeabur CLI. Never usenpx zeabur@latestdirectly or any other installation method. Ifzeaburis not available, install Node.js first.npx
始终使用调用 Zeabur CLI。 切勿直接使用npx zeabur@latest或其他任何安装方式。如果没有zeabur,请先安装 Node.js。npx
Trigger
触发条件
When the user's message contains , extract the from inside the tag.
<UploadedFile>upload_id</UploadedFile>upload_id当用户消息中包含 时,提取标签内的 。
<UploadedFile>upload_id</UploadedFile>upload_idWorkflow
工作流程
bash
undefinedbash
undefined1. Pull the uploaded project to a local directory
1. 将上传的项目拉取到本地目录
npx zeabur@latest file pull <upload_id> /tmp/project -i=false
npx zeabur@latest file pull <upload_id> /tmp/project -i=false
2. Explore with standard bash tools
2. 使用标准 bash 工具探索项目
ls /tmp/project
cat /tmp/project/package.json
find /tmp/project -name ".ts" -o -name ".js" | head -20
undefinedls /tmp/project
cat /tmp/project/package.json
find /tmp/project -name ".ts" -o -name ".js" | head -20
undefinedCommand
命令
bash
undefinedbash
undefinedDownload all files from an upload to a local directory
将上传的所有文件下载到本地目录
npx zeabur@latest file pull <upload_id> [target-dir] -i=false
- Default target directory is `.` (current directory)
- Binary files (images, fonts, archives, etc.) are skipped automatically
- Directory structure is preservednpx zeabur@latest file pull <upload_id> [target-dir] -i=false
- 默认目标目录为 `.`(当前目录)
- 自动跳过二进制文件(图片、字体、归档文件等)
- 保留目录结构Recommended Analysis Order
推荐分析顺序
- Pull the project:
npx zeabur@latest file pull <upload_id> /tmp/project -i=false - List structure: and
ls -la /tmp/projectfind /tmp/project -type f - Read config: (or
cat /tmp/project/package.json,go.mod,requirements.txt)Cargo.toml - Read if present
Dockerfile - Read entry point files (,
src/main.*,index.*)app.* - Summarize findings and suggest deployment with the skill
zeabur-deploy
- 拉取项目:
npx zeabur@latest file pull <upload_id> /tmp/project -i=false - 列出结构:和
ls -la /tmp/projectfind /tmp/project -type f - 读取配置文件:(或
cat /tmp/project/package.json、go.mod、requirements.txt)Cargo.toml - 如果存在 则读取该文件
Dockerfile - 读取入口文件(、
src/main.*、index.*)app.* - 总结分析结果,并建议使用 技能进行部署
zeabur-deploy
Tips
提示
| Tip | Details |
|---|---|
| Binary files are skipped | Images, fonts, archives won't be downloaded |
| Use a temp directory | Pull to |
| Use standard tools | After pulling, |
| 提示 | 详情 |
|---|---|
| 跳过二进制文件 | 不会下载图片、字体、归档文件 |
| 使用临时目录 | 拉取到 |
| 使用标准工具 | 拉取完成后, |