什么是 gws-events-subscribe?
Google Workspace 事件:订阅 Workspace 事件并将其作为 NDJSON 进行流式传输。 来源:googleworkspace/cli。
Google Workspace 事件:订阅 Workspace 事件并将其作为 NDJSON 进行流式传输。
通过命令行快速安装 gws-events-subscribe AI 技能到你的开发环境
来源:googleworkspace/cli。
PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.
| --target | — | — | Workspace resource URI (e.g., //chat.googleapis.com/spaces/SPACEID) | | --event-types | — | — | Comma-separated CloudEvents types to subscribe to | | --project | — | — | GCP project ID for Pub/Sub resources | | --subscription | — | — | Existing Pub/Sub subscription name (skip setup) |
| --max-messages | — | 10 | Max messages per pull batch (default: 10) | | --poll-interval | — | 5 | Seconds between pulls (default: 5) | | --once | — | — | Pull once and exit | | --cleanup | — | — | Delete created Pub/Sub resources on exit | | --no-ack | — | — | Don't auto-acknowledge messages |
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/googleworkspace/cli --skill gws-events-subscribeGoogle Workspace 事件:订阅 Workspace 事件并将其作为 NDJSON 进行流式传输。 来源:googleworkspace/cli。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/googleworkspace/cli --skill gws-events-subscribe 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/googleworkspace/cli