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 |
微信扫一扫