fn: sgnd_need_cmd
Purpose
Require a command or exit the current shell script.
Arguments
$1— Command name.
Side effects
Prints a diagnostic to stderr and exits when missing.
Returns
- 0 if found; exits with status 1 if missing.
Usage
sgnd_need_cmd bash
