mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2025-02-01 23:37:57 +00:00
dfd799b4e5
If main.sh is being sourced instead of being executed it respects the variables __usage and __helptext being defined beforehand. Its behaviour will depend on the sourcing script. If __usage is defined but empty no argument parsing is done. If __helptext is defined but empty no helptext will be shown. Logging support still exists as it did before. The environment variables LOG_LEVEL and NO_COLOR are supported just as they were before.