Files
omarchy/bin/omarchy-cmd-present
T

10 lines
160 B
Bash
Executable File

#!/bin/bash
# omarchy:summary=Check whether all required commands are available
for cmd in "$@"; do
command -v -- "$cmd" &>/dev/null || exit 1
done
exit 0