Live data from Hacker News

Google Workspace CLI

github.com

141–150 of 316 posts

Re: Google Workspace CLI

#141
post #26

I'm curious why `npm` is used to install a `rust` binary?

Why should the package's original language matter? When I use apt-get, I have no idea what languages the packages were written in.

Because npm is not an os package manager, it's a nodejs package manager

Re: Google Workspace CLI

#143
post #34

Interesting post from the main contributor about this (at least I assume it’s what he’s referencing) https://justin.poehnelt.com/posts/rewrite-your-cli-for-ai-ag...

Looks like I am hitting some Cloudflare Block when accessing this URL

Re: Google Workspace CLI

#144

Earlier quoted context omitted.

> 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, $#%&

I two am wondering exactly what form slamming the gates shut in our face will take.

"You will rent only the best PCs, eat only the tastiest bugs, and live in the 15-minute City of Tomorrow (also known as New Kowloon). And you will like it. Or else."

Re: Google Workspace CLI

#146
post #34

Interesting post from the main contributor about this (at least I assume it’s what he’s referencing) https://justin.poehnelt.com/posts/rewrite-your-cli-for-ai-ag...

Thanks! Looks like he submitted it here, judging by the username:

You need to rewrite your CLI for AI agents - https://news.ycombinator.com/item?id=47252459.

I think that's pretty cool so I put the post in the SCP (https://news.ycombinator.com/item?id=26998308).

Re: Google Workspace CLI

#147
Neat. I've been running something very similar to this locally for a few months now. They introduced all their documentation into markdown recently. I still rely on discover API and lenient cloud project permissions, so maybe some gains there. Will compare note later.

Re: Google Workspace CLI

#148
post #26

I'm curious why `npm` is used to install a `rust` binary?

NPM as a cross platform package distribution system works really well. The install script checks the OS and Arch, and pulls the right Rust binary. Then, they get upgrade mechanism out of the box too, and an uninstall mechanism. NPM has become the de facto standard for installing any software these days, because it is present on every OS.

More of a de facto standard for supply chain attacks tbh

Re: Google Workspace CLI

#149
post #26

I'm curious why `npm` is used to install a `rust` binary?

Why should the package's original language matter? When I use apt-get, I have no idea what languages the packages were written in.

Not everyone has or wants yet another package manager in their system.

Re: Google Workspace CLI

#150
post #103

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…

Similar frustrations. I was only able auth using some Google app I created for an old project years ago that happened to have the right bits. It wild that this process is still so challenging. There's got to be some safe streamlined way that sets up an app identity you own that can only use to access your own account. My guess is that organizationally within Google, the developer app authorization process must have m…

[dead]
Post reply on HN