Provides some nice utility methods for bash scripts.
Find a file
2024-10-27 21:52:26 +01:00
dist/assets Initial commit 2024-10-26 22:54:26 +02:00
docs Improve documentation 2024-10-27 21:52:26 +01:00
bashutils.sh Improve documentation 2024-10-27 21:52:26 +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 Add testing documentation to README 2024-10-27 13:30:17 +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