Hacker News new | ask | show | jobs
by akincisor 785 days ago
I've recently used a ruby script with a bunch of methods that I can configure with a few yaml files to generate a shell script which I can then run.

Each run generates a timestamped folder with not only the bash script, but also a copy of the configs used to generate it, and all the data that the commands in the bash script needs (json files). I find this style of generator a common pattern for commonly used but frequently tweaked scripts.