gitme.cmd

This commit is contained in:
rabix 2022-03-05 14:34:28 +08:00
parent 0ed6ba34b3
commit 344924b8dc
1 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,9 @@
@echo off
setlocal
if "%1"=="" (
echo gitme username/reponame
echo gitme username/reponame [TARGET]
exit /b
)
git clone https://gitme.fun/%1 . && if exist vid-init-module.cmd call vid-init-module.cmd
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