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

agentuity-cli-cloud-env-get

获取环境变量值。需要身份验证。用于Agentuity云平台操作

person作者: jakexiaohubgithub

Cloud Env Get

Get an environment variable value

Prerequisites

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

Usage

agentuity cloud env get <key> [options]

Arguments

| Argument | Type | Required | Description | |----------|------|----------|-------------| | <key> | string | Yes | - |

Options

| Option | Type | Required | Default | Description | |--------|------|----------|---------|-------------| | --mask | boolean | No | false | mask the value in output (default: true in TTY, false otherwise) |

Examples

Get item details:

bunx @agentuity/cli env get NODE_ENV

Get item details:

bunx @agentuity/cli env get LOG_LEVEL

Output

Returns JSON object:

{
  "key": "string",
  "value": "string"
}

| Field | Type | Description | |-------|------|-------------| | key | string | Environment variable key name | | value | string | Environment variable value |