googleworkspace/cli

One CLI (gws) for Drive, Gmail, Sheets, etc.

What

gws, one CLI for Drive, Gmail, Calendar, Sheets, Docs, Chat and Admin, generated from Google's Discovery Service. Outputs JSON and includes agent skills. Needs a Google Cloud project for OAuth.

How to use

bash
npm install -g @googleworkspace/cli   # or: brew install googleworkspace-cli
gws auth setup
gws auth login
gws drive files list --params '{"pageSize": 5}'

Reach for it when

scripting Google Workspace or letting an agent use it from the shell.