zeabur-auth
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseZeabur Authentication
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
Login
登录
Run the login command directly — the CLI will automatically open the browser for the user:
bash
npx zeabur@latest auth loginLogin with a token (for CI/CD or headless environments):
bash
npx zeabur@latest auth login --token <token> -i=false直接运行登录命令——CLI 会自动为用户打开浏览器:
bash
npx zeabur@latest auth login使用令牌登录(适用于 CI/CD 或无头环境):
bash
npx zeabur@latest auth login --token <token> -i=falseCheck Login Status
检查登录状态
bash
npx zeabur@latest auth status -i=falsebash
npx zeabur@latest auth status -i=falseLogout
登出
bash
npx zeabur@latest auth logout -i=falsebash
npx zeabur@latest auth logout -i=falseTips
提示
- Never ask the user to run the login command themselves — run it directly and let the CLI auto-open the browser
- Token-based login is useful for CI/CD or headless environments
- Run first to check if the user is already logged in before suggesting login
auth status
- 切勿让用户自行运行登录命令——直接运行该命令,让 CLI 自动打开浏览器
- 基于令牌的登录适用于 CI/CD 或无头环境
- 在建议登录前,先运行 检查用户是否已登录
auth status