← 返回
未分类
中文
Gog Xiaoshu
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
Google Workspace CLI,支持 Gmail、日历、Drive、联系人、表格和文档。
未分类
clawhub
v1.0.0 1 版本 100000 Key: 无需
#latest
概述
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.0
当前
2026-05-03 09:57 安全 安全
安全检测
腾讯云安全 (Sanbu)
安全,无风险
查看报告
🔗 相关推荐
office-efficiency
ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 464
📥 155,051
office-efficiency
ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 387
📥 147,367
dev-programming
xiaomaju-888
使用 `gh` CLI 与 GitHub 交互。通过`gh issue`、`gh pr`、`gh run` 和 `gh api` 管理 issue、PR、CI 运行以及高级查询。
★ 0
📥 452