News for hackers. Stuff that matters.
Re:Shell Style Guide by laurent123456 on Tuesday May 15, 2018 @10:32AM (#17074159)
I had some success with Node.js (though it was in a Node-based project to begin with). I haven't tried piping commands, but to run a bunch of commands and then have all the logic in JavaScript it's quite convenient.

Here's an example that builds a React Native app, while updating version numbers and Git tags:

https://github.com/laurent22/joplin/blob/master/Tools/releas...

Re:Shell Style Guide by mattnewton on Tuesday May 15, 2018 @11:39AM (#17074777)
My main problem with scripting in Node vs python is the event loop gets in your way when just trying to write a quick and dirty sequence of steps. Sure you can use async await but now you are transpiling your script.. seems easier to just bang it out in python.

I love Node but I use it for backend where the event-loop model is useful.