-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexec.bat
More file actions
43 lines (33 loc) · 1.06 KB
/
Copy pathexec.bat
File metadata and controls
43 lines (33 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
@rem ------------------- batch setting -------------------
@echo off
@rem ------------------- declare script attribute -------------------
::@STOP-CLI-PARSER
::@VALUE=123
::@BOOLEAN-TRUE
::@BOOLEAN-FALSE=
@rem ------------------- declare variable -------------------
@rem ------------------- execute script -------------------
call :%*
goto end
@rem ------------------- declare function -------------------
:action
echo ^> Exec : %*
echo ATTR_STOP_CLI_PARSER : %ATTR_STOP_CLI_PARSER%
echo VALUE : %ATTR_VALUE%
if defined ATTR_BOOLEAN_TRUE (echo BOOLEAN-TRUE exist) else (echo BOOLEAN-TRUE not exist)
if defined ATTR_BOOLEAN_FALSE (echo BOOLEAN-FALSE exist) else (echo BOOLEAN-FALSE not exist)
goto end
:args
goto end
:short
echo Execute some action
goto end
:help
echo This is a Command Line Interface with project %PROJECT_NAME%
echo Execute some action
echo.
echo Options:
echo --help, -h Show more command information.
call %CLI_SHELL_DIRECTORY%\utils\tools.bat command-description %~n0
goto end
:end