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:
|
|
-
Name
COMPULSORY.
Maily used for identification, logging, and referencing purposes.
Available since Montuer Version
v0.0.1
.
-
Condition
COMPULSORY.
The list of supported Platform ID where the commands shall be executed when Monteur is opreating on the matching operating system.
Should
all-all
is used, it will overwrite all platform ID for both specified and unspecified ones due to its alwaystrue
nature.Available since Montuer Version
v0.0.1
.
-
Type
COMPULSORY.
Set to
"command"
.Available since Montuer Version
v0.0.1
.
-
Command
COMPULSORY.
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.