zeabur-service-list
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseZeabur Service List
Zeabur 服务列表
Get Service IDs
获取服务ID
bash
undefinedbash
undefinedSet project context first
Set project context first
npx zeabur@latest context set project --id=<project-id> -i=false -y
npx zeabur@latest context set project --id=<project-id> -i=false -y
List all services
List all services
npx zeabur@latest service list -i=false
undefinednpx zeabur@latest service list -i=false
undefinedOutput Example
输出示例
ID NAME TYPE CREATEDAT
-----------------+-------------+-------------+------------------
696faeb192eadb... postgresql PREBUILT_V2 18 minute(s) ago
696faeb192eadb... api PREBUILT_V2 18 minute(s) ago
696faeb192eadb... web PREBUILT_V2 18 minute(s) ago ID NAME TYPE CREATEDAT
-----------------+-------------+-------------+------------------
696faeb192eadb... postgresql PREBUILT_V2 18 minute(s) ago
696faeb192eadb... api PREBUILT_V2 18 minute(s) ago
696faeb192eadb... web PREBUILT_V2 18 minute(s) agoCommon Use Cases
常见使用场景
| Need | Command |
|---|---|
| Check variables | |
| View logs | |
| Restart service | |
Always use not — name lookup is unreliable.
--id--name| 需求 | 命令 |
|---|---|
| 查看变量 | |
| 查看日志 | |
| 重启服务 | |
请始终使用而非——名称查找不可靠。
--id--name