Our take
Activeregular commits and releases- Activity
- 86
- Community
- 65
- Issues
- 72
- Pull requests
- 83
+75 stars in the last 30 days
- Merges more pull requests than 94% of the projects we track
- Releases more often than 89% of the projects we track
- More contributors than 78% of the projects we track
gogcli is an actively maintained, broad Workspace CLI with frequent releases, but its measured contributor concentration makes maintainer continuity worth considering.
Good fit if
- You need terminal access to multiple Google Workspace services and can configure Google's OAuth authorization.
- You want structured output and explicit execution controls for scripts, CI, or agents.
- You are comfortable adopting a Go project that is actively developed and released, and the MIT license suits your use.
Look elsewhere if
- You need an interface that does not depend on Google APIs, accounts, or OAuth setup.
- You need consumer-account access to Workspace-only features such as Admin Directory, Cloud Identity Groups, Chat, or Keep.
- You require a project whose development is not heavily concentrated among a small number of contributors.
All health signals
| Last commit | 2026-10-27 (today) |
|---|---|
| Commits, last 90 days | 100+ |
| Releases, last 12 months | 64 (latest v0.47.1, 2026-10-27) |
| Contributors | 100+ (top contributor: 78% of commits) |
| Issues closed, last 90 days | 21+ (typically closed in 2 days) |
| Pull requests merged, last 90 days | 91 (typically merged in 0 days) |
| Project age | 11 months |
Checked on 2026-10-28 with the GitHub API.
Project history
Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.
Stars
8,587Forks
731Change since Nov 17, 2026: +3 stars·-1 forks
Overview
gogcli is a Go command-line client for Google Workspace, Google's suite of services including Gmail, Calendar, Drive, Docs, and Sheets. It gives people, scripts, CI jobs, and agents a terminal-based way to work across those services, with explicit account routing and machine-readable output.
Its focus is not just interactive commands: options such as read-only mode, command allowlists, and no-input operation let callers set boundaries for automation. The command surface also covers services such as Contacts, Tasks, Chat, and Workspace administration, though some features require a managed Workspace domain.
Key Features
- Work with Gmail, Calendar, Drive, Docs, Sheets, Slides, Forms, Contacts, Tasks, and other Google services through one CLI.
- Select among multiple Google accounts and configure OAuth clients, access tokens, application default credentials, or Workspace service accounts.
- Emit JSON or stable TSV output for scripts and downstream tools.
- Restrict automated execution with read-only mode, no-input operation, exact command allowlists, and Gmail no-send policy.
- Generate command schemas and help from the installed binary's command tree.
- Offer a typed, read-only-by-default MCP server, with explicit authorization required for writes.
- Support OAuth scopes selected by service, including narrower Gmail authorization options.
Use Cases
- A developer can search Gmail or inspect Calendar events from scripts without building a separate integration for each service.
- A team can automate Drive sharing audits and consume the results as JSON in CI.
- An agent workflow can access authorized Workspace commands while restricting writes and disabling interactive prompts.
- A person managing personal and work Google accounts can route commands to the intended account without switching installations.
What you need
Detected in the repository
- Go 1.26.0 or newer (from go.mod)
- A Dockerfile, so it can run in a container
- Automated checks on GitHub Actions
License in plain words
MITpermissive
- Commercial use: yes
- Modify and redistribute: yes
- You must keep: the copyright and license notice
- Share your changes: no
A summary, not legal advice: the LICENSE file is what applies.
Getting Started
Install with Homebrew on macOS or Linux:
brew install openclaw/tap/gogcli
Then follow the README for Google Cloud OAuth setup, service authorization, and account configuration.
Alternatives
- cli: It generates commands dynamically from Google's Discovery Service, while gogcli emphasizes account routing and controls for safer automation.
| Project | Language | License | Stars | Status |
|---|---|---|---|---|
| gogcli | Go | MIT | 8.5k | Active |
| cli | Rust | Apache-2.0 | 31.8k | Quiet |
Considerations
- Some commands require enabling the relevant Google APIs and setting up an OAuth client. Workspace administration and certain services require a managed Workspace domain or a service account with domain-wide delegation.
- Authorization can grant access to sensitive mail, files, and other Workspace data. Choose service scopes carefully and use the CLI's automation controls to limit what scripts and agents can do.
- The project has recent commits and releases and handles issues and pull requests quickly, but most contributions are concentrated with one person. Teams adopting it for essential workflows should account for that maintainer concentration.
- The project requires the Go version declared in
go.modfor Go-based installation and building. Prebuilt packages are also documented in the repository.
Found this useful?
Share it with someone who would like gogcli.