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.

cligogcli
LanguageRustGo
LicenseApache-2.0MIT
Stars31.8k8.5k
Forks2k722
Last analyzedOct 24, 2026Oct 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.
Read the cli analysis →

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.
Read the gogcli analysis →

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.