Provides some nice utility methods for bash scripts.
Find a file
2024-11-17 16:14:49 +01:00
dist/assets Initial commit 2024-10-26 22:54:26 +02:00
docs Fix indentation & tests (partial) + update logging 2024-11-17 16:14:49 +01:00
bashutils.sh Fix indentation & tests (partial) + update logging 2024-11-17 16:14:49 +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 indentation & tests (partial) + update logging 2024-11-17 16:14:49 +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