-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.cmd
More file actions
54 lines (48 loc) · 1.3 KB
/
start.cmd
File metadata and controls
54 lines (48 loc) · 1.3 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
48
49
50
51
52
53
54
@echo off
REM ---------------------------------------------------------------------------
REM start.cmd — Quick launcher for Local Repo Patch Agent (Windows)
REM
REM Usage:
REM start.cmd Run the CLI demo (default)
REM start.cmd ui Run the web dashboard
REM start.cmd setup Run full setup (install deps, start Foundry, etc.)
REM ---------------------------------------------------------------------------
setlocal enabledelayedexpansion
if "%~1"=="" goto :demo
if /i "%~1"=="demo" goto :demo
if /i "%~1"=="ui" goto :ui
if /i "%~1"=="setup" goto :setup
if /i "%~1"=="help" goto :help
goto :help
:demo
echo.
echo === Local Repo Patch Agent — CLI Demo ===
echo.
npm run demo
goto :eof
:ui
echo.
echo === Local Repo Patch Agent — Web Dashboard ===
echo.
echo Open http://localhost:3000 in your browser
echo.
npm run ui
goto :eof
:setup
echo.
echo === Local Repo Patch Agent — Setup ===
echo.
powershell -ExecutionPolicy Bypass -File "%~dp0setup.ps1"
goto :eof
:help
echo.
echo Local Repo Patch Agent — Launcher
echo.
echo Usage:
echo start.cmd Run the CLI demo (default)
echo start.cmd demo Run the CLI demo
echo start.cmd ui Run the web dashboard
echo start.cmd setup Run full setup
echo start.cmd help Show this message
echo.
goto :eof