Command Dependency Checker
Monteur supplies a built-in dependency checker for command line's program. This checks the availability of the program for use in the operating system.
Purpose
The checker main purpose is to ensure a command line's program
is readily available for use. This is useful for building CI Job
recipe that integrates third-party programs'
interactions like git, exec,
bash and etc.
Data Structure
The data structure for command line checker is as follows:
|
|
-
NameCOMPULSORY.
Maily used for identification, logging, and referencing purposes.
Available since Montuer Version
v0.0.1.
-
ConditionCOMPULSORY.
The list of supported Platform ID where the commands shall be executed when Monteur is opreating on the matching operating system.
Should
all-allis used, it will overwrite all platform ID for both specified and unspecified ones due to its alwaystruenature.Available since Montuer Version
v0.0.1.
-
TypeCOMPULSORY.
Set to
"command".Available since Montuer Version
v0.0.1.
-
CommandCOMPULSORY.
The terminal command to invoke the dependency.
Available since Montuer Version
v0.0.1.
Examples
Here are some of the examples:
|
|
The above will instruct Monteur to always check for
git and curl in every
operating system while only check for bash
when operating on linux kernel and
amd64 CPU operating system.
Epilogue
That's all for command dependency checker type. If you have any question, please feel free to raise your question at our Issues Section.