Live data from Hacker News

Google Workspace CLI

github.com

111–120 of 316 posts

Re: Google Workspace CLI

#112
post #45

Earlier quoted context omitted.

They're not doing so here, but shipping a wasm-compiled binary with npm that uses node's WASI API is a really easy way to ship a cross-platform CLI utility. Just needs ~20 lines of JS wrapping it to set up the args and file system.

Doesn’t this seem excessive over just using rust’s cross platform builds?

There's no such thing as a truly "cross-platform" build. Depending on what you use, you might have to target specific combinations of OS and processor architecture. That's actually why WASM (though they went with WASI) is a better choice; especially for libraries, since anyone can drop it into their environment without worrying about compatibility.

Re: Google Workspace CLI

#113

[flagged]

Is this comment AI generated? I don't like to accuse people of generating comments, but looking at your comment history, almost all of them fit this pattern of a single paragraph with "LLM-isms", this one included (i.e. "the X angle here is real -").

I find this form you're commenting on less annoying than people starting posts with "this." What a stupid way to say "I agree."

Re: Google Workspace CLI

#114

Earlier quoted context omitted.

I have always said that if we had done for developers what we are doing for agents the whole world would have been a much better place.

Perhaps we will finally emerge from this decades-long dark age of bloated, do-everything GUI development tools being the fashionable happy path.

The AWS cli tool wants to have a talk… hard to find a more bloated mess of strung together scripts held together by tape.

Re: Google Workspace CLI

#115

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 find https://github.com/steipete/gogcli a bit easier (but still confusing to setup)

Google Workspace API(s) keys and Roles was always confusing to me at so many levels .. and they just seem to keeping topping that confusion, no one is addressing the core (honestly not sure if that is even possible at this point)

Re: Google Workspace CLI

#116
post #5

Haha in the world of AI/MCPs, all of a sudden we have a push for companies to properly build out APIs/CLI tools.

One of the very few good things from the AI race has been everyone finally publishing more data APIs out in the open, and making their tools usable via CLIs (or extensible APIs).

I feel like the CLI craze started around 2020. That predates this chat GPT.

CharmCLI golang

Nushell rust

Warp. Shell

Were all around 2020 also that is when alt shells started getting popular probably for same reasons they still are.

Re: Google Workspace CLI

#117

Earlier quoted context omitted.

Totally. I was just remarking today how funny it is that it was apparently ok for humans to suffer from a dearth if documentation for years , but suddenly, once the machines need it, everyone is frantic to make their tools as usable and well-documented as possible

> everyone is frantic to make their tools as usable and well-documented as possible Eh, enjoy it while it lasts. Companies are still trying to figure out how to get value by letting a thousand flowers blossom. The walled-garden gates will swing shut soon enough, just like they did after the last open access revolutions (semantic web, Web 2.0, etcetera)

I two am wondering exactly what form slamming the gates shut in our face will take. Closing the first hit is free train And opening the doors to pay me, $#%&

Re: Google Workspace CLI

#118

[flagged]

Is this comment AI generated? I don't like to accuse people of generating comments, but looking at your comment history, almost all of them fit this pattern of a single paragraph with "LLM-isms", this one included (i.e. "the X angle here is real -").

Yeah, those other comments also have an AI vibe. The LLM bots are getting better.

Re: Google Workspace CLI

#119
post #76

Earlier quoted context omitted.

What about pip? It's either installed or immediately available on many OSes

This is about eight years old. The python situation has mostly gotten worse since https://xkcd.com/1987/

What? It’s much much better now, you can just use uv. Yeah, it’s yet another package manager, but it does it well.
Post reply on HN