Last active
December 5, 2023 18:19
-
-
Save 4DRIAN0RTIZ/859c8354e41d629d9bc1329ba5878363 to your computer and use it in GitHub Desktop.
agoracli.bat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: EL script de python espera "-m <matricula" | |
set arg1=%1 | |
set arg2=%2 | |
set arg3=%3 | |
:: Define la ruta del script de AgoraCLI | |
set agoracli_path=%USERPROFILE%\.config\AgoraCLI\agoracli.py | |
:: Ruta al entorno virtual de AgoraCLI | |
set virtual_env_path=%USERPROFILE%\.config\AgoraCLI\AgoraCLI | |
:: Activa el entorno virtual | |
call "%virtual_env_path%\Scripts\Activate" | |
:: Ejecuta AgoraCLI con los argumentos | |
python "%agoracli_path%" %arg1% %arg2% %arg3% | |
:: Desactiva el entorno virtual | |
call "%virtual_env_path%\Scripts\Deactivate" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment