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.0.110"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
metadata:
  command: "agentuity cloud env pull"
  tags: "slow requires-auth requires-project"

Cloud Env Pull

Pull environment variables from cloud to local .env file

Prerequisites

  • Authenticated with agentuity auth login
  • Project context required (run from project directory or use --project-id)
  • cloud deploy

Usage

bash
agentuity cloud env pull [options]

Options

OptionTypeRequiredDefaultDescription
--forcebooleanNofalseoverwrite local values with cloud values

Examples

Run pull command:

bash
bunx @agentuity/cli env pull

Use force option:

bash
bunx @agentuity/cli env pull --force

Output

Returns JSON object:

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