Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 17:50:59 +08:00
commit 7f42d64263
19 changed files with 2908 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
@echo off
REM Specification Architect Validation Helper
setlocal enabledelayedexpansion
set SCRIPT_DIR=%~dp0
set SPEC_DIR=.
set VERBOSE=
set GENERATE=
:parse_args
if "%1"=="" goto run
if "%1"=="-p" (set SPEC_DIR=%2 & shift & shift & goto parse_args)
if "%1"=="--path" (set SPEC_DIR=%2 & shift & shift & goto parse_args)
if "%1"=="-v" (set VERBOSE=--verbose & shift & goto parse_args)
if "%1"=="--verbose" (set VERBOSE=--verbose & shift & goto parse_args)
if "%1"=="-g" (set GENERATE=--generate-validation & shift & goto parse_args)
if "%1"=="--generate" (set GENERATE=--generate-validation & shift & goto parse_args)
shift
goto parse_args
:run
echo Running specification validation...
python "%SCRIPT_DIR%validate_specifications.py" --path "%SPEC_DIR%" %VERBOSE% %GENERATE%
exit /b %ERRORLEVEL%