mirror of
https://github.com/open-jarvis/OpenJarvis.git
synced 2026-07-28 14:07:55 +00:00
8 lines
228 B
Bash
Executable File
8 lines
228 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Stub for curl — records args, returns canned output.
|
|
echo "$@" >> "${CURL_STUB_LOG:-/dev/null}"
|
|
if [[ "${CURL_STUB_OUTPUT_FILE:-}" ]]; then
|
|
cat "$CURL_STUB_OUTPUT_FILE"
|
|
fi
|
|
exit "${CURL_STUB_EXIT:-0}"
|