Instead of writing shell scripts for automation, write them in Typescript or JavaScript and run them with node:
Way easier to write and maintain and AI will happily do it for you with higher correctness than the shell scripts
Its platform agnostic! Node runs the same way on windows/Linux/mac
Javascript automation script can do anything you can think of.
Personally I hate writing shell scripts because of weird syntax, hard to reuse, zero testability, mostly I think I am not smart enough for it and I am more than ok with it. For me, simplicity wins.
Top comments (0)