Hook script execution commands.
Hooks are shell scripts in the hooks_path directory (default: .xamal/hooks).
Summary
Functions
Build environment variables to pass to hook scripts.
Check if a hook file exists.
Build the command to run a hook script locally.