cli vs gogcli
Google Workspace command-line tools compared
cli and gogcli both let people, scripts, and agents work with Google Workspace from a terminal. cli builds commands from Google Discovery Service documents and includes agent skills, while gogcli emphasizes account routing and controls for safer automation.

cli: Use Google Workspace APIs from Humans and AI Agents
Google Workspace CLI builds commands dynamically from Google's Discovery Service, covering Drive, Gmail, Calendar, and other Workspace APIs. It returns structured JSON for scripts and AI agents, with agent skills included.

gogcli: Use Google Workspace from the Terminal
gogcli is a Go command-line client for Google Workspace, built for people, scripts, CI, and agents that need to work with Google services from the terminal. It supports account routing, structured output, and controls for safer automation.
| cli | gogcli | |
|---|---|---|
| Language | Rust | Go |
| License | Apache-2.0 | MIT |
| Stars | 31.8k | 8.5k |
| Forks | 2k | 722 |
| Last analyzed | Oct 24, 2026 | Oct 28, 2026 |
Key differences
- cli is written in Rust and uses Google Discovery Service documents to build commands dynamically; gogcli is written in Go and generates schemas and help from its installed command tree.
- cli returns structured JSON and supports newline-delimited JSON pagination; gogcli offers JSON and stable TSV output.
- gogcli includes multiple-account routing, read-only mode, command allowlists, and no-input operation; cli offers dry-run previews and helper commands for common tasks.
- cli includes agent skills for supported APIs and workflows, plus Gemini CLI extension support; gogcli offers a typed MCP server that is read-only by default, with explicit authorization required for writes.
- cli uses the Apache-2.0 license; gogcli uses the MIT license.
- cli warns that breaking changes may occur as it develops toward v1.0; gogcli has recent commits and releases, with contributions concentrated mostly with one person.
Choose cli if you…
- want commands built dynamically from Google Discovery Service documents.
- need agent skills or Gemini CLI extension support for Workspace workflows.
- prefer Rust or the Apache-2.0 license.
Choose gogcli if you…
- need to route commands among multiple Google accounts.
- want controls such as read-only mode, command allowlists, or disabled prompts for automation.
- prefer Go or stable TSV output alongside JSON.
Compare the numbers side by side, or add more projects
This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.