Live data from Hacker News

Google Cloud Platform’s new interactive CLI

cloudplatform.googleblog.com

21–30 of 79 posts

Re: Google Cloud Platform’s new interactive CLI

#21
post #16
post #2

LOL @ the bright green on black terminal pictures. How shall I say it, it feels very "l33t". Too bad they didn't use more normal terminal colours, it would improve readability IMO.

I've been using a green on black scheme for years now, imo it is the best color combination for low light environments.

Amber on black (à la DEC VT420 terminals and some early PC monochrome monitors) also works well in low light.

Re: Google Cloud Platform’s new interactive CLI

#24
post #8
post #2

LOL @ the bright green on black terminal pictures. How shall I say it, it feels very "l33t". Too bad they didn't use more normal terminal colours, it would improve readability IMO.

I don't think its a "l33t" thing its just cultural. A fair number of engineers grew up with old computers that looked like this: https://i.imgur.com/WERwVsS.jpg Personally I learned to code on an old cathode ray tube monitor with green text, hooked up to a Tandy 1000. The CRT made a lot of heat and emitted a faint electronic tonal noise when it was running. I think the use of green color in terminals today is kind of…

The eyes are more sensitive to either yellow-green or blue-green, depending on whether there is light or little of it. Amber/orange/yellow was probably the second most popular choice for terminals back then.

Re: Google Cloud Platform’s new interactive CLI

#25
This is an interesting accommodation to less terminal savvy users. I'm not interested personally. But, it's an interesting concept.

In fact, I think it would be an interesting thing to standardize, like super-completion.

Someone else in this thread mentioned that Amazon is working on a similar interactive shell [0], and there is a whole group of tools like this for database CLI's [1], including PostgreSQL, MySQL, MS-SQL, and VerticaDB.

It's a shame that each of these projects have to somewhat re-invent the wheel (though prompt-toolkit does a lot of heavy lifting [2]). And it's even more of a shame that each of these tools require a seperate environment. So, you have to exit Google's interactive shell to do something in AWS.

[0] https://github.com/awslabs/aws-shell

[1] https://www.dbcli.co

[2] https://github.com/jonathanslenders/python-prompt-toolkit

Re: Google Cloud Platform’s new interactive CLI

#26
post #25

This is an interesting accommodation to less terminal savvy users. I'm not interested personally. But, it's an interesting concept. In fact, I think it would be an interesting thing to standardize, like super-completion. Someone else in this thread mentioned that Amazon is working on a similar interactive shell [0], and there is a whole group of tools like this for database CLI's [1], including PostgreSQL, MySQL, MS-…

Eh, I wouldn't say it's just for less terminal savvy users. Running -h, finding the command you want, putting it in, is slower than this method. No matter how skilled you are, if you aren't using GCP CLI all day every day you're gonna forget stuff and this is a quick and easy way to remember it.

Re: Google Cloud Platform’s new interactive CLI

#28
I wish they would spend more time finishing the halfway done projects they've started (and fully documenting them), rather than continue to launch new ones.

For instance...Google CloudSQL - Great! Postgres - Beta...Postgres from AppEngine python...err, we'll get around to it, maybe.

Just giving one example, but my point is - finish what you've started before making new. I think recent articles I've read about launching being the track to promotion explain some of the state of things within GCP.

Re: Google Cloud Platform’s new interactive CLI

#29
post #16

Earlier quoted context omitted.

I've been using a green on black scheme for years now, imo it is the best color combination for low light environments.

Amber on black (à la DEC VT420 terminals and some early PC monochrome monitors) also works well in low light.

These aging eyes have configured all my CLI work (which is most of it) to use amber on black.

Re: Google Cloud Platform’s new interactive CLI

#30

I just looked at the first animation. If I find myself typing commands this long, I know I'm doing it wrong.

You must've not used the AWS or GCP CLI tools before... the commands are all very verbose with lots of mandatory parameters. There's really no way to avoid long commands.
Post reply on HN