Live data from Hacker News

Dax – Cross-platform shell for Node.js

david.deno.dev

1–10 of 26 posts

Re: Dax – Cross-platform shell for Node.js

#2
I'm loving the explosion of scripting tools for Node (and similar). There was basically nothing for ages. Then ZX come along and made scripting so much easier, and quickly has become indispensable for me.

Now we have more choices and more innovation? Really exciting.

Re: Dax – Cross-platform shell for Node.js

#3
post #2

I'm loving the explosion of scripting tools for Node (and similar). There was basically nothing for ages. Then ZX come along and made scripting so much easier, and quickly has become indispensable for me. Now we have more choices and more innovation? Really exciting.

TIL about zx! https://github.com/google/zx

This suite of tools feels indispensable. Anything to keep me from having to write/maintain bash scripts that are more than a series of commands.

Re: Dax – Cross-platform shell for Node.js

#5
post #3
post #2

I'm loving the explosion of scripting tools for Node (and similar). There was basically nothing for ages. Then ZX come along and made scripting so much easier, and quickly has become indispensable for me. Now we have more choices and more innovation? Really exciting.

TIL about zx! https://github.com/google/zx This suite of tools feels indispensable. Anything to keep me from having to write/maintain bash scripts that are more than a series of commands.

My position is I will never willingly write another Bash script. Zx is always a better choice.

I get that there are contexts where portability etc are important, but my work is very far from such places.

I truly despise Bash and its brethren.

Re: Dax – Cross-platform shell for Node.js

#6
post #5
post #3

Earlier quoted context omitted.

TIL about zx! https://github.com/google/zx This suite of tools feels indispensable. Anything to keep me from having to write/maintain bash scripts that are more than a series of commands.

My position is I will never willingly write another Bash script. Zx is always a better choice. I get that there are contexts where portability etc are important, but my work is very far from such places. I truly despise Bash and its brethren.

big +1. I see the appeal of writing things directly in the shell, but as soon as you have conditional logic it's time for Python/JS/anything else.

Re: Dax – Cross-platform shell for Node.js

#7
post #6
post #5

Earlier quoted context omitted.

My position is I will never willingly write another Bash script. Zx is always a better choice. I get that there are contexts where portability etc are important, but my work is very far from such places. I truly despise Bash and its brethren.

big +1. I see the appeal of writing things directly in the shell, but as soon as you have conditional logic it's time for Python/JS/anything else.

In most of my cases, the scripts live within NodeJS projects, and have no particular attachment to Bash or Linux, so there's not really even any good reason to have Both involved at all.

Re: Dax – Cross-platform shell for Node.js

#9

Shells are first and foremost the core of the CLI for interactive use of the computer. Secondarily for scripting... but I don't see anything about using any of these shells as your standard computer interface. Am I missing something?

I think they’re using shell as the loose term for “shell script”, as in scripts you run in a shell.

Re: Dax – Cross-platform shell for Node.js

#10
Nice I like this. I think I want to use this in my AGPL-3.0 project BrowserBox for some scripting of the complex install and command breakouts.

Would this be possible license-wise? Also do you have any focus on cross-platform install commands (like apt/dnf/brew/winget ~~ complex and most likely out of scope I know!)

Post reply on HN