Agentuity云环境变量推送工具Skill agentuity-cli-cloud-env-push

Agentuity云环境变量推送工具是一款专为Agentuity云平台设计的命令行工具,主要用于将本地开发环境中的.env.production配置文件内的环境变量安全、高效地同步到云端服务器。该工具简化了云端环境配置流程,支持身份验证和项目上下文管理,是DevOps流程中实现配置即代码(Configuration as Code)的关键组件。关键词:Agentuity云平台、环境变量推送、CLI工具、DevOps、云端配置、配置管理、.env文件同步。

CI/CD 0 次安装 0 次浏览 更新于 2/28/2026

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 源文件路径