AgentSkillsCN

agentuity-cli-cloud-env-pull

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

SKILL.md
--- frontmatter
name: agentuity-cli-cloud-env-pull
description: Pull environment variables from cloud to local .env file. 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 pull"
  tags: "slow requires-auth"

Cloud Env Pull

Pull environment variables from cloud to local .env file

Prerequisites

  • Authenticated with agentuity auth login
  • cloud deploy

Usage

bash
agentuity cloud env pull [options]

Options

OptionTypeRequiredDefaultDescription
--forcebooleanNofalseoverwrite local values with cloud values
--orgoptionalStringYes-pull from organization level (use --org for default org)

Examples

Pull from project:

bash
bunx @agentuity/cli env pull

Overwrite local with cloud values:

bash
bunx @agentuity/cli env pull --force

Pull from organization:

bash
bunx @agentuity/cli env pull --org

Output

Returns JSON object:

json
{
  "success": "boolean",
  "pulled": "number",
  "path": "string",
  "force": "boolean",
  "scope": "string"
}
FieldTypeDescription
successbooleanWhether pull succeeded
pullednumberNumber of items pulled
pathstringLocal file path where variables were saved
forcebooleanWhether force mode was used
scopestringThe scope from which variables were pulled