rbtools.utils.checks¶
Utilities for checking for dependencies.
Functions
|
Check if the given command is installed. |
- rbtools.utils.checks.check_install(command: list[str]) bool [source]¶
Check if the given command is installed.
Try executing an external command and return a boolean indicating whether that command is installed or not. The ‘command’ argument should be something that executes quickly, without hitting the network (for instance, ‘svn help’ or ‘git –version’).