This commit is contained in:
2026-04-24 14:03:17 +02:00
commit 0191347312
31 changed files with 16354 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/env bash
# depends on
declare -r readme='bs/README.md'
isHelp() {
for arg in "$@"; do
[[ "$arg" == '-h' || "$arg" == '--help' ]] && return 0
done
return 1
}
echoReadmeInfo() {
local -r script="bs/${0##*/}"
local info
info="$(grep -A1 "## $script" "$readme" | tail -n1)"
cat <<-EOF
$info
Usage: $script [options]
Options:
-h, --help: Show this help
EOF
}