Files
QwenClaw-with-Auth/bin/qwenclaw.cmd

23 lines
479 B
Batchfile

@echo off
REM QwenClaw CLI Command Wrapper for Windows
REM Usage: qwenclaw [command] [options]
setlocal enabledelayedexpansion
REM Get script directory
set "SCRIPT_DIR=%~dp0"
set "QWENCLAW_DIR=%SCRIPT_DIR%.."
REM Check if bun is available
where bun >nul 2>nul
if %errorlevel% neq 0 (
echo [ERROR] bun is not installed or not in PATH
echo Install bun from: https://bun.sh/
exit /b 1
)
REM Execute qwenclaw CLI
bun run "%QWENCLAW_DIR%\bin\qwenclaw.js" %*
endlocal