Files
diachron/cmd
Michael Wolf 2641a8d29d Update shell code
Now it (mostly) passes shellcheck and is formatted with shfmt.
2025-11-17 11:38:04 -06:00

22 lines
364 B
Bash
Executable File

#!/bin/bash
# This file belongs to the framework. You are not expected to modify it.
# FIXME: Obviously this file isn't nearly robust enough. Make it so.
set -eu
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
subcmd="$1"
# echo "$subcmd"
#exit 3
shift
echo will run "$DIR"/framework/cmd.d/"$subcmd" "$@"
exec "$DIR"/framework/cmd.d/"$subcmd" "$@"