I present to your attention a utility for gluing script files – KleyMoment, as well as a reverse utility for ungluing files back. The utility can be used to glue JavaScript files into one.
The tool is implemented in Python 3 and has a simple command line interface of the form:
python3 KleyMoment.py extensionFiles directoryContainingFiles outputFile
For example, recursive merging of js files from the scripts directory into the output.js file
python3 KleyMoment.py js scripts output.js
Also a utility for unsticking files back AntiKleyMoment, it takes a glued file as input, for example:
python3 AntiKleyMoment.py output.js
Repository:
https://gitlab.com/demensdeum/kleymoment/