agentuity-cli-cloud-env-get

agentuity 的头像作者 agentuity

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

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

name: agentuity-cli-cloud-env-get description: Get an environment variable value. 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 get" tags: "read-only fast requires-auth requires-project"

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