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:

1
2
3
4
5
[[Dependencies]]
Name = 'Git Version Control Software for Changelog Generations'
Condition = 'all-all'
Type = 'command'
Command = 'git'

Examples

Here are some of the examples:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
...

[[Dependencies]]
Name = 'Git Version Control Software for Changelog Generations'
Condition = 'all-all'
Type = 'command'
Command = 'git'


[[Dependencies]]
Name = 'cURL for API calls'
Condition = 'all-all'
Type = 'command'
Command = 'curl'


[[Dependencies]]
Name = 'BASH for local executions'
Condition = 'linux-amd64'
Type = 'command'
Command = 'bash'

...

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.