-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathsidestep.bat
More file actions
47 lines (43 loc) · 1.26 KB
/
Copy pathsidestep.bat
File metadata and controls
47 lines (43 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@echo off
REM ====================================================================
REM Side-Step Launcher (Windows)
REM
REM Usage:
REM sidestep.bat — Interactive menu
REM sidestep.bat gui — Skip menu, launch GUI directly
REM sidestep.bat train ... — Skip menu, direct CLI mode
REM
REM To type "sidestep" from anywhere, add this folder to your PATH:
REM setx PATH "%PATH%;C:\path\to\Side-Step"
REM Or place a one-line proxy in a PATH folder (see install_windows.ps1)
REM ====================================================================
cd /d "%~dp0"
where uv >nul 2>&1
if %ERRORLEVEL% NEQ 0 (
echo [FAIL] uv not found. Install it: https://docs.astral.sh/uv/getting-started/installation/
pause
exit /b 1
)
REM If args provided, pass through directly (CLI mode)
if not "%~1"=="" (
uv run sidestep %*
exit /b %ERRORLEVEL%
)
REM Interactive menu
echo.
echo ░▒▓ S I D E · S T E P ▓▒░
echo v1.1.0-beta
echo.
echo [1] Wizard -- Interactive CLI training wizard
echo [2] GUI -- Launch web GUI in browser
echo.
set /p choice=" Pick [1/2]: "
if "%choice%"=="2" (
echo.
echo Launching GUI...
uv run sidestep gui
) else (
echo.
echo Launching wizard...
uv run sidestep
)