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
2024-01-19 22:26:32 -08:00
committed by GitHub
parent c03fd837ea
commit 89b1640eb6
16 changed files with 259 additions and 10 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
if [[ "$@" == *"--dump-json"* ]]; then
echo '{ "args": "'$@'"}'
else
echo $@
fi