4 ms·
To clarify, I was specifically responding to the gp comment's point on needing to use one-liners in npm scripts. The most complex "shell scripts" I've actually
by lucideer 9y ago
To clarify, I was specifically responding to the gp comment's point on needing to use one-liners in npm scripts.
The most complex "shell scripts" I've actually written for this specific purpose are simple ordered command lists, with occasional exit code checks, where appropriate. So I'm not so much talking about "writing and debugging" - this is more "replacing semicolons with newlines in a very long one-liner"
I do actually put one-liners into npm scripts instead quite often - it's a trade-off, depending on the pipeline.