@echo off REM The terminal version of Bolt Console. Starts in the directory you ran it REM from, so that is the working directory Bolt's commands and paths use. setlocal set "ROOT=%~dp0" if not exist "%ROOT%.venv" ( python -m venv "%ROOT%.venv" "%ROOT%.venv\Scripts\python" -m pip install --upgrade pip "%ROOT%.venv\Scripts\python" -m pip install -r "%ROOT%requirements.txt" ) set "PYTHONPATH=%ROOT%;%PYTHONPATH%" "%ROOT%.venv\Scripts\python" -m bolt_console --cli %*