feat: abstract provider testing

This commit is contained in:
Benexl
2025-07-07 19:02:12 +03:00
parent 783b63219f
commit d5e1e60266
3 changed files with 44 additions and 15 deletions

7
fa
View File

@@ -1,3 +1,6 @@
#!/usr/bin/env sh
CLI_DIR="$(dirname "$(realpath "$0")")"
exec uv run --directory "$CLI_DIR/../" fastanime "$@"
provider_type=$1
provider_name=$2
[ -z "$provider_type" ] && echo "Please specify provider type" && exit
[ -z "$provider_name" ] && echo "Please specify provider type" && exit
uv run python -m fastanime.libs.providers.${provider_type}.${provider_name}.provider