Files
api-collections/generate-http-requests.bat
T

14 lines
352 B
Batchfile

@echo off
echo %cmdcmdline% | findstr /i /c:"%~nx0" >NUL && set iscommandline=1
echo %PSModulePath% | findstr /i /c:"%USERPROFILE%" >NUL && set ispowershell=1
cd /D "%~dp0"
echo.
@pwsh -NoProfile -ExecutionPolicy Bypass -Command .\scripts\generate-http-requests.ps1 %*
echo.
IF DEFINED iscommandline IF NOT DEFINED ispowershell pause