← 返回
开发者工具
Key 中文
Google Workspace CLI (gog)
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、联系人、表格和文档。
jx-76
开发者工具
clawhub
v1.0.1 1 版本 99419.7 Key: 需要
#calendar#docs#drive#gmail#google#latest#productivity#sheets#workspace
概述
gog
Use gog for Gmail/Calendar/Drive/Contacts/Sheets/Docs. Requires OAuth setup.
Setup (once)
gog auth credentials /path/to/client_secret.jsongog auth add you@gmail.com --services gmail,calendar,drive,contacts,sheets,docsgog auth list
Common commands
- Gmail search:
gog gmail search 'newer_than:7d' --max 10 - Gmail send:
gog gmail send --to a@b.com --subject "Hi" --body "Hello" - Calendar:
gog calendar events --from --to - Drive search:
gog drive search "query" --max 10 - Contacts:
gog contacts list --max 20 - Sheets get:
gog sheets get "Tab!A1:D10" --json - Sheets update:
gog sheets update "Tab!A1:B2" --values-json '[["A","B"],["1","2"]]' --input USER_ENTERED - Sheets append:
gog sheets append "Tab!A:C" --values-json '[["x","y","z"]]' --insert INSERT_ROWS - Sheets clear:
gog sheets clear "Tab!A2:Z" - Sheets metadata:
gog sheets metadata --json - Docs export:
gog docs export --format txt --out /tmp/doc.txt - Docs cat:
gog docs cat
Notes
- Set
GOG_ACCOUNT=you@gmail.com to avoid repeating --account. - For scripting, prefer
--json plus --no-input. - Sheets values can be passed via
--values-json (recommended) or as inline rows. - Docs supports export/cat/copy. In-place edits require a Docs API client (not in gog).
- Confirm before sending mail or creating events.
版本历史
共 1 个版本
-
v1.0.1
当前
2026-03-28 19:25 安全 安全
安全检测
腾讯云安全 (Sanbu)
安全,无风险
查看报告
🔗 相关推荐
developer-tools
steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921
📥 185,731
developer-tools
steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 667
📥 323,813
jx-76
帮助用户发现和安装智能体技能,当用户询问如「如何做X」、「找X的技能」、「有能做...的吗」等问题时
★ 0
📥 664