checkExec#

Check the existence and, optionally, the version of available executables or commands.

Parameters

checkExec: str
Executable to check. Additionally, an optional version check can be added with a test operator.
aliases: checkExec, CheckExec
desc: str (Optional)

The description for the check

substitute: bool (Optional)
Whether to substitute environment variables in check values
default: True
aliases: substitute, env_substitute

The checkExec check in YAML format.

checks:
  Ls:
    desc: List files
    checkExec: "ls"

The checkExec check with version checking in YAML format.

checks:
  Python:
    desc: Python interpreter (version 3.11 or higher)
    checkExec: "python3>=3.11"

The checkExec check with version checking in TOML format.

[checks.Executables.Python]
desc = "Python interpreter (version 3.11 or higher)"
checkExec = "python3>=3.11"

The checkExec check with version checking in abbreviated TOML format.

[checks.Executables]
Python = { checkExec = "python3>=3.11" }