name: agentuity-cli-cloud-redis-show description: 显示Redis连接URL。需要身份验证。用于Agentuity云平台操作 version: “0.0.103” license: Apache-2.0 allowed-tools: “Bash(agentuity:*)” metadata: command: “agentuity cloud redis show” tags: “read-only fast requires-auth”
云Redis显示
显示Redis连接URL
前提条件
- 已通过
agentuity auth login进行身份验证 - 需要组织上下文(
--org-id或默认组织)
使用方法
agentuity cloud redis show [选项]
选项
| 选项 | 类型 | 是否必需 | 默认值 | 描述 |
|---|---|---|---|---|
--showCredentials |
布尔值 | 是 | - | 以明文显示凭据(默认:在终端中隐藏,在JSON中显示) |
示例
显示Redis连接URL:
bunx @agentuity/cli cloud redis show
显示包含可见凭据的Redis URL:
bunx @agentuity/cli cloud redis show --show-credentials
以JSON格式显示Redis URL:
bunx @agentuity/cli --json cloud redis show
输出
返回JSON对象:
{
"url": "字符串"
}
| 字段 | 类型 | 描述 |
|---|---|---|
url |
字符串 | Redis连接URL |