# shellcheck shell=dash

___x_cmd_git_hook(){
    [ $# -gt 0 ] || {   ___x_cmd_git_hook_help; return;     }

    local op="$1";  shift
    case "$op" in
        -h|--help)  ___x_cmd_git_hook_help ;;
        run)        ___x_cmd___git_origin hook run "$@" ;;
        *)          x githook "$op" "$@" ;;
    esac
}

___x_cmd_git_hook_help(){
    x help -m git hook
    return 1
}
