fix: add dependency check for curl.

This commit is contained in:
2025-07-19 18:11:41 -07:00
parent feebe9b93b
commit 58c41a708b

1
mc
View File

@@ -96,6 +96,7 @@ function main() {
# remove command from arg list while preserving quoted strings.
args=("${args[@]:1}")
if [[ ! $(which curl) ]]; then echo "curl is required"; exit 1; fi
if [[ ! $(which jq) ]]; then echo "jq is required"; exit 1; fi
for command in "${!commands[@]}"; do