pinchflat/test/support/scripts/mock-yt-dlp-repeater.sh

7 lines
97 B
Bash
Executable file

#!/bin/bash
if [[ "$@" == *"--dump-json"* ]]; then
echo '{ "args": "'$@'"}'
else
echo $@
fi