2 points · by jaxtracks · 1y ago · 1 comment
Grateful for feedback on the approach! A couple of friends and I have found it useful for day-to-day automation tasks and I'm wondering if there's enough utility in its ability to target minimal environments like Alpine containers or IoT devices to warrant fleshing out a proper 1.0 release.
if [ ! -f /tmp/foo ]; then $maybe_dryrun touch /tmp/foo; fi
There will be a bit of boilerplate, but it would be much easier to understand and debug.(I'd say different things for a more complex system which can, for example, track the files created and show if any of them were unexpectedly modified. But your system does not seem to implement any of it, it's just a overcomplicated shell runner)