AgentSkillsCN

agentuity-cli-cloud-env-push

将本地 .env 文件中的环境变量和密钥推送至云端。需进行身份验证。可用于 Agentuity 云平台的运维操作。

SKILL.md
--- frontmatter
name: agentuity-cli-cloud-env-push
description: Push environment variables and secrets from local .env file to cloud. Requires authentication. Use for Agentuity cloud platform operations
version: "0.1.24"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
metadata:
  command: "agentuity cloud env push"
  tags: "mutating updates-resource slow api-intensive requires-auth"

Cloud Env Push

Push environment variables and secrets from local .env file to cloud

Prerequisites

  • Authenticated with agentuity auth login
  • env set

Usage

bash
agentuity cloud env push [options]

Options

OptionTypeRequiredDefaultDescription
--orgoptionalStringYes-push to organization level (use --org for default org)

Examples

Push all variables to cloud (project):

bash
bunx @agentuity/cli env push

Push all variables to organization:

bash
bunx @agentuity/cli env push --org

Output

Returns JSON object:

json
{
  "success": "boolean",
  "pushed": "number",
  "envCount": "number",
  "secretCount": "number",
  "source": "string",
  "scope": "string"
}
FieldTypeDescription
successbooleanWhether push succeeded
pushednumberNumber of items pushed
envCountnumberNumber of env vars pushed
secretCountnumberNumber of secrets pushed
sourcestringSource file path
scopestringThe scope where variables were pushed