zeabur-project-delete
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseZeabur Project Delete
Zeabur项目删除
Always useto invoke Zeabur CLI. Never usenpx zeabur@latestdirectly or any other installation method. Ifzeaburis not available, install Node.js first.npx
Deleting a project removes all services, deployments, and data in it. This is irreversible — always confirm with the user before proceeding.
请始终使用调用Zeabur CLI。 请勿直接使用npx zeabur@latest命令或任何其他安装方式。如果没有可用的zeabur,请先安装Node.js。npx
删除项目会移除其中所有服务、部署和数据,该操作不可逆——执行前请务必与用户确认。
Safety First
安全优先
Before deleting:
- List projects so the user can verify the target
- Show the project name and ID and ask for explicit confirmation
- Only then run the delete command
Never batch-delete more than one project without confirming each one.
删除前:
- 列出所有项目,方便用户确认目标项目
- 展示项目名称和ID,请求用户明确确认
- 确认无误后再执行删除命令
未经逐一确认,不得批量删除多个项目。
Delete by ID
按ID删除
bash
npx zeabur@latest project delete -i=false --id <project-id> -ybash
npx zeabur@latest project delete -i=false --id <project-id> -yDelete by Name
按名称删除
bash
npx zeabur@latest project delete -i=false -n "<project-name>" -ybash
npx zeabur@latest project delete -i=false -n "<project-name>" -yFind Project ID
查找项目ID
bash
undefinedbash
undefinedList all projects
列出所有项目
npx zeabur@latest project list -i=false
npx zeabur@latest project list -i=false
Filter by name (strip ANSI codes)
按名称过滤(去除ANSI编码)
npx zeabur@latest project list -i=false 2>/dev/null | grep "<project-name>"
undefinednpx zeabur@latest project list -i=false 2>/dev/null | grep "<project-name>"
undefinedWorkflow
工作流
bash
undefinedbash
undefined1. List projects to find the target
1. 列出项目找到目标对象
npx zeabur@latest project list -i=false
npx zeabur@latest project list -i=false
2. Check services with the zeabur-service-list
skill, then confirm with user: "Delete <project-name> (<project-id>)?"
zeabur-service-list2. 使用 zeabur-service-list
技能查看服务,随后与用户确认:「是否删除 <project-name> (<project-id>)?」
zeabur-service-list3. Delete
3. 执行删除
npx zeabur@latest project delete -i=false --id <project-id> -y
undefinednpx zeabur@latest project delete -i=false --id <project-id> -y
undefinedFlags
参数说明
| Flag | Description |
|---|---|
| Project ID to delete |
| Project name to delete |
| Skip confirmation prompt |
| Non-interactive mode (always use this) |
| Flag | 说明 |
|---|---|
| 待删除的项目ID |
| 待删除的项目名称 |
| 跳过确认提示 |
| 非交互模式(请始终使用该参数) |