Live data from Hacker News

Google Workspace CLI

github.com

161–170 of 316 posts

Re: Google Workspace CLI

#161

Claude Opus 4.6 couldn't figure out how to use it to write to a Google Sheet (something to do with escaping the !?) and fell back to calling the sheets API directly with gcloud auth.

You should use Gemini obviously

Yeah, that one can't even figure out how to write a formula, or sometimes read data when it's sitting WITHIN context of sheets.

I get better experience if I just copy-paste the sheet data into Gemini web. And IIRC copy-paste is just space "delimited" by default.

Re: Google Workspace CLI

#162

God, getting this set up is frustrating. I've spent 45 minutes trying to get this to work, just following their defaults the whole way through. Multiple errors and issues along the way, now I'm on `gws auth login`, and trying to pick the oAuth scopes. I go ahead and trust their defaults and select `recommended`, only to get a warning that this is too many scopes and may error out (then why is this the recommended set…

I used Claude in chrome and Claude Code. It did everything for me.

Re: Google Workspace CLI

#166

Honestly, easier with MCP straight up: https://gmail.mintmcp.com/ https://gcal.mintmcp.com/ https://gdocs.mintmcp.com/ https://gsheets.mintmcp.com/ (all pass through)

https://news.ycombinator.com/item?id=47208398

https://news.ycombinator.com/item?id=47157398

IMHO, CLI tools are better more often than not against MCP.

EDIT: and here is similar opinion from author himself: https://news.ycombinator.com/item?id=47252459

Re: Google Workspace CLI

#167

I was excited to see this but all of that went away when I realized you need to create an app in GCP to use it. Can't really expect non technical users to set this up across the company.

Yeah, still no way around this unfortunately.

Re: Google Workspace CLI

#168

God, getting this set up is frustrating. I've spent 45 minutes trying to get this to work, just following their defaults the whole way through. Multiple errors and issues along the way, now I'm on `gws auth login`, and trying to pick the oAuth scopes. I go ahead and trust their defaults and select `recommended`, only to get a warning that this is too many scopes and may error out (then why is this the recommended set…

There are many gotchas in this process and unfortunately there is no easy way to deal with the OAuth setup.

Re: Google Workspace CLI

#169
This reminds me a bit of how the GitHub CLI evolved into a foundation for automation and tooling. Do you see the Google Workspace CLI primarily as something for humans using the terminal, or more as a stable interface that automation and AI agents can build on?
Post reply on HN