agentuity-cli-cloud-env-pull

agentuity 的头像作者 agentuity

将环境变量从云端拉到本地.env.生产文件。需要身份验证。用于Agentuity云平台操作

📖 中文导读:将环境变量从云端拉到本地.env.生产文件。需要身份验证。用于Agentuity云平台操作 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: agentuity-cli-cloud-env-pull description: Pull environment variables from cloud to local .env.production file. Requires authentication. Use for Agentuity cloud platform operations version: "0.0.104" 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.production file

Prerequisites

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

Usage

agentuity cloud env pull [options]

Options

Option Type Required Default Description
--force boolean No false overwrite local values with cloud values

Examples

Run pull command:

bunx @agentuity/cli env pull

Use force option:

bunx @agentuity/cli env pull --force

Output

Returns JSON object:

{
  "success": "boolean",
  "pulled": "number",
  "path": "string",
  "force": "boolean"
}
Field Type Description
success boolean Whether pull succeeded
pulled number Number of items pulled
path string Local file path where variables were saved
force boolean Whether force mode was used