agentuity-cli-cloud-env-import

agentuity 的头像作者 agentuity

将环境变量从文件导入到云和本地 .env.Production。需要身份验证。用于Agentuity云平台操作

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

name: agentuity-cli-cloud-env-import description: Import environment variables from a file to cloud and local .env.production. Requires authentication. Use for Agentuity cloud platform operations version: "0.0.104" license: Apache-2.0 allowed-tools: "Bash(agentuity:*)" argument-hint: "" metadata: command: "agentuity cloud env import" tags: "mutating creates-resource slow api-intensive requires-auth requires-project"

Cloud Env Import

Import environment variables from a file to cloud and local .env.production

Prerequisites

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

Usage

agentuity cloud env import <file>

Arguments

Argument Type Required Description
<file> string Yes -

Examples

Import environment variables from .env file:

bunx @agentuity/cli cloud env import .env

Import from .env.local file:

bunx @agentuity/cli cloud env import .env.local

Output

Returns JSON object:

{
  "success": "boolean",
  "imported": "number",
  "skipped": "number",
  "path": "string",
  "file": "string"
}
Field Type Description
success boolean Whether import succeeded
imported number Number of items imported
skipped number Number of items skipped
path string Local file path where variables were saved
file string Source file path