Hacker News new | past | comments | ask | show | jobs | submit login

lately i use nodejs and have replaced the cmd tools with node modules. It is more verbose then piping shell commands but easier to understand and the same script can be reused across platforms.



Really? I have to do this to execute docker commands and it is painful. A lot of child_process I/O and it gets hairy.


I find some of it's a lot easier with shelljs or mz, but ymmv. I also like that streams of line delimited JSON is really nice as well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: