Skip to content

gogcli

Version 2026.144.1443
Repo box/github.com/opencharly/layer-gogcli:v2026.239.1628

Installs the gog Google Workspace CLI (Gmail, Calendar, Drive, Contacts, Sheets, Docs) into the user’s Go bin gogcli builds the upstream gog binary from github.com/steipete/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 (gmail, calendar, drive, …). 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.

This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.

Intent Step
run command=go install github.com/steipete/gogcli/cmd/gog@latest go clean -cache
check the gog binary is installed at ~/go/bin/gog
check running gog --version exits 0, proving the built binary actually runs
check gog --help lists the Google Workspace subcommands (gmail, calendar)
agent-check once OAuth credentials are provisioned, gog authenticates and lists the user’s Gmail messages