vid/bin/gitme.cmd

9 lines
228 B
Batchfile
Raw Normal View History

2022-03-05 14:25:10 +08:00
@echo off
2022-03-05 14:34:28 +08:00
setlocal
2022-03-05 14:25:10 +08:00
if "%1"=="" (
2022-03-05 14:34:28 +08:00
echo gitme username/reponame [TARGET]
2022-03-05 14:25:10 +08:00
exit /b
)
2022-03-05 14:34:28 +08:00
for %%A in (. %2) do set target=%%A
git clone https://gitme.fun/%1 %target% && if exist vid-init-module.cmd call vid-init-module.cmd