cli
googleworkspace/cli
gws is a command-line tool for Google Workspace that covers Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and other APIs. Instead of a static command list, it reads Google's Discovery Service at runtime and builds its command surface dynamically, so new API endpoints are picked up automatically. It offers structured JSON output, --help on every resource, --dry-run, and auto-pagination, plus 40+ agent skills for AI agents. It suits developers who want to script Workspace APIs without writing curl calls, and those building LLM-driven automation. Note it is not an officially supported Google product and is under active development.
安装方式
brew install googleworkspace-cli