Each file here is meant to implement singular functionality. Those function like scriptlets are meant to be used in various scripts implementing concrete jobs.
If you find yourself copying the same function between various bash segments in job definitions, consider making it a scriptlet like the ones provided here.
See individual files for their purpose and usage instructions.
The unit tests are written in BATS (Bash automated Testing System). To run the tests run:
cd tests
bats .