name: agentuity-cli-cloud-env-push description: 将本地.env.production文件中的环境变量推送到云端。需要身份验证。用于Agentuity云平台操作 version: “0.0.104” license: Apache-2.0 allowed-tools: “Bash(agentuity:*)” metadata: command: “agentuity cloud env push” tags: “mutating updates-resource slow api-intensive requires-auth requires-project”
云环境变量推送
将本地.env.production文件中的环境变量推送到云端
前提条件
- 已通过
agentuity auth login完成身份验证 - 需要项目上下文(从项目目录运行或使用
--project-id) - 环境变量已设置
使用方法
agentuity cloud env push
示例
运行推送命令:
bunx @agentuity/cli env push
输出
返回JSON对象:
{
"success": "boolean",
"pushed": "number",
"source": "string"
}
| 字段 | 类型 | 描述 |
|---|---|---|
success |
boolean | 推送是否成功 |
pushed |
number | 推送的项目数量 |
source |
string | 源文件路径 |