← 返回
未分类 中文

Erdmannsilva Gog

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
Google Workspace CLI,支持 Gmail、日历、Drive、联系人、表格和文档。
erdmannsilva
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 280
下载
💾 1
安装
1
版本
#latest

概述

gog

Use gog for Gmail/Calendar/Drive/Contacts/Sheets/Docs. Requires OAuth setup.

Setup (once)

  • gog auth credentials /path/to/client_secret.json
  • gog auth add you@gmail.com --services gmail,calendar,drive,contacts,sheets,docs
  • gog 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-21 14:30 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Erdmannsilva Excalidraw

erdmannsilva
从 Excalidraw JSON 生成手绘风格图表、流程图和架构图的 PNG 图片
★ 0 📥 299

Erdmannsilva Nano Pdf

erdmannsilva
使用自然语言指令通过 nano-pdf CLI 编辑 PDF。
★ 0 📥 297

Erdmannsilva Perplexity

erdmannsilva
使用 Perplexity API 进行 AI 驱动的网页搜索,返回带引用的可靠答案,支持批量查询。
★ 0 📥 288