Google Workspace CLI Lets Developers Automate Drive, Gmail and More via Command Line
Google has released an open-source command-line tool called Google Workspace CLI (gws), announced by Addy Osmani in early 2026. The Rust-powered tool provides unified command-line access to Google Workspace services including Drive, Gmail, Calendar, Sheets, Docs, and Chat through a single interface. It builds commands dynamically using Google's Discovery Service, eliminating the need for separate SDKs, custom OAuth flows, or manual API scripts. The CLI supports JSON output, pagination helpers, dry-run mode, and agent integrations for tools like Claude Code, Cursor, and Gemini CLI. It requires Node.js 18 or later and can be installed via npm, Homebrew, Nix, or directly from GitHub Releases.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in