|
| 1 | +# gog Docs |
| 2 | + |
| 3 | +`gog` is a single CLI for Google Workspace automation: Gmail, Calendar, Drive, |
| 4 | +Docs, Sheets, Slides, Contacts, Tasks, People, Forms, Apps Script, Groups, Admin, |
| 5 | +Keep, and related agent workflows. |
| 6 | + |
| 7 | +## Start Here |
| 8 | + |
| 9 | +- Install and authenticate from the repository |
| 10 | + [README](https://github.com/steipete/gogcli#readme). |
| 11 | +- Read [Auth Clients](auth-clients.md) when setting up OAuth clients, service |
| 12 | + accounts, or Workspace domain-wide delegation. |
| 13 | +- Read [Command Guards and Baked Safety Profiles](safety-profiles.md) when |
| 14 | + running `gog` from agents or automation. |
| 15 | +- Open the [Command Index](commands/README.md) for generated docs for every CLI |
| 16 | + command. |
| 17 | + |
| 18 | +## Common Paths |
| 19 | + |
| 20 | +```bash |
| 21 | +gog auth add you@gmail.com --services gmail,calendar,drive |
| 22 | +gog gmail search 'newer_than:7d' --max 10 |
| 23 | +gog gmail get <messageId> --sanitize-content --json |
| 24 | +gog calendar events --today |
| 25 | +gog drive ls --max 20 |
| 26 | +``` |
| 27 | + |
| 28 | +## Command Docs |
| 29 | + |
| 30 | +Every command page under `docs/commands/` is generated from |
| 31 | +`gog schema --json`. Do not hand-edit generated command pages. After changing |
| 32 | +commands, flags, aliases, arguments, or help text, run: |
| 33 | + |
| 34 | +```bash |
| 35 | +make docs-commands |
| 36 | +``` |
| 37 | + |
| 38 | +Then build the GitHub Pages site locally: |
| 39 | + |
| 40 | +```bash |
| 41 | +make docs-site |
| 42 | +open dist/docs-site/index.html |
| 43 | +``` |
| 44 | + |
| 45 | +The site is intentionally static: no framework, no package install, and no |
| 46 | +client-side dependency beyond a small navigation script embedded by the builder. |
0 commit comments