pub fn get_executable_version(root_cmd: impl AsRef<OsStr>) -> Option<String>
A helper function to get the version from an executable (e.g. git)