--- name: gogcli description: CLI for Gmail, Calendar, Drive, Contacts, Tasks, Sheets. compatibility: Requires gog CLI (github.com/steipete/gogcli). Set GOG_ACCOUNT=you@gmail.com or use --account flag. --- # gogcli CLI for Google Workspace via [steipete/gogcli](https://github.com/steipete/gogcli). ## Examples ```bash gog gmail search 'newer_than:7d from:x@example.com' gog gmail thread gog gmail send --to x@example.com --subject "Hi" --body "Text" gog calendar events primary --from 2025-01-15T00:00:00Z --to 2025-01-16T00:00:00Z gog calendar create primary --summary "Meeting" --from --to gog drive search "quarterly report" gog drive upload ./file.pdf --parent gog drive download --out ./file.pdf gog tasks list gog tasks add --title "Task" --due gog contacts search "John" gog sheets get 'Sheet1!A1:B10' ``` Use `--json` for parseable output, `--help` on any command for options. --- See [references/examples.md](references/examples.md) for Gmail query syntax, batch operations, workflows.