mirror of
https://github.com/ReVanced/revanced-cli.git
synced 2026-01-17 16:33:58 +00:00
chore: Add click-to-run scripts
This commit is contained in:
19
scripts/modules/create.bat
Normal file
19
scripts/modules/create.bat
Normal file
@@ -0,0 +1,19 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
if "%~1"=="" (
|
||||
set INVALID_ARGS=true
|
||||
)
|
||||
if defined INVALID_ARGS (
|
||||
echo Creates a directory using the mkdir command.
|
||||
echo:
|
||||
echo Usage: create ^<path^>
|
||||
echo Example: create C:/revanced
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
set DIRECTORY=%1
|
||||
|
||||
if not exist %DIRECTORY% (
|
||||
run "mkdir.exe" -p %DIRECTORY%
|
||||
)
|
||||
Reference in New Issue
Block a user