vid/bin/gitme.cmd

8 lines
250 B
Batchfile

@echo off
setlocal
if "%1"=="" (
echo gitme username/reponame [TARGET]
exit /b
)
for %%A in (. %2) do set target=%%A
git clone https://gitme.fun/%1 %target% && pushd %target% & if exist vid-init-module.cmd call vid-init-module.cmd & popd