Initial yt-dlp implementation (#3)

* Added basic runner for yt-dlp commands

* Updated formatting rules

* Added JSON runner; Added test script for CLI interactions

* Reworked yt-dlp runner; added proper test mocks
This commit is contained in:
Kieran authored and GitHub committed 2024-01-19 22:26:32 -08:00
1 parent 536f868ba0
commit 4827da3106
16 files changed
+259 -10

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
if [[ "$@" == *"--dump-json"* ]]; then
echo '{ "args": "'$@'"}'
else
echo $@
fi