Skip to contents

Helper function to check if a CLI tool is available. This function fails if tool is not available on PATH.

Usage

check_bin(cmd)

Arguments

cmd

Name of the tool to check.

Value

Path to tool executable, if available.