From 344924b8dc4f6349b7369b55bfc3daca46846189 Mon Sep 17 00:00:00 2001 From: rabix Date: Sat, 5 Mar 2022 14:34:28 +0800 Subject: [PATCH] gitme.cmd --- bin/gitme.cmd | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/gitme.cmd b/bin/gitme.cmd index bae3edc..31b5585 100644 --- a/bin/gitme.cmd +++ b/bin/gitme.cmd @@ -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 \ No newline at end of file +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 \ No newline at end of file