Provides some nice utility methods for bash scripts.
Find a file
JeremyStarTM 6368928cc2
Fix test framework and add input type check tests
This commit's tests do not run through properly, I will fix that in the next few commits.
2024-10-27 22:12:35 +01:00
dist/assets Initial commit 2024-10-26 22:54:26 +02:00
docs Add input type checks 2024-10-27 22:04:37 +01:00
bashutils.sh Add input type checks 2024-10-27 22:04:37 +01:00
LICENSE Initial commit 2024-10-26 22:54:26 +02:00
README.md Mark type as code too 2024-10-27 13:33:18 +01:00
test.sh Fix test framework and add input type check tests 2024-10-27 22:12:35 +01:00

bashutils

Provides some nice utility methods for bash scripts.

Features

  • SOSLS v2-compliant logging
  • various check methods
  • easy variable definition

Documentation

See bashutils.staropensource.de

Testing

You run bashutils' tests by invoking the test.sh script. The test script accepts environment variables as configuration.

Configuration

VARIABLE TYPE DEFAULT DESCRIPTION
FAILFAST bool false Terminates if a test fails instead of continuing