The gog Google Workspace CLI — Gmail, Calendar, Drive, Contacts, Sheets, and
Docs from the shell.
gogcli builds the upstream gog binary from
github.com/openclaw/gogcli via go install,
landing it at ~/go/bin/gog (placed on PATH by path_append). gog is a
single static Go binary that exposes the Google Workspace APIs as subcommands.
gog --version and gog --help run locally with no OAuth or network, so the
install is verifiable at build scope; live Workspace access additionally needs
OAuth credentials provisioned at deploy time.
| Property | Value |
|---|---|
| Layer / candy | gogcli |
| Requires | @github.com/opencharly/layer-golang |
| Binary | ~/go/bin/gog |
| Env | GOPATH=~/go, PATH append ~/go/bin |
| Service / port | none |
Compose the layer by pinning this repo in a box's candy: list:
my-box:
candy:
base: fedora
candy:
- '@github.com/opencharly/layer-gogcli:v2026.246.1816'Then, inside the built image:
gog --version # built binary runs
gog --help # lists gmail, calendar, ... subcommands
gog gmail list # once OAuth credentials are provisionedcharly.yml— thegogcli:candy entity: therequire:dep, theenv:/path_append:block, thego installstep, and thecheck:steps..github/workflows/tag-on-merge.yml— CalVer tag +CHANGELOG/on merge.README.md— this user overview.
- Family skill:
/charly-tools:gogcli /charly-coder:golang— the required Go toolchain dependency/charly-tools:goplaces— a sibling Google API CLIopencharly/charly— the charly CLI and image builderopencharly/opencharly— the umbrella