返回 Skill 列表
extension
分类: 开发与工程无需 API Key

agentuity-cli-cloud-env-import

从文件导入环境变量到云端和本地的.env文件。需要认证。用于Agentuity云平台操作

person作者: jakexiaohubgithub

Cloud Env Import

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

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 |