
# not using the pkg system

___x_cmd_pip_audit(){
    # [ $# -gt 0 ] || set -- nv

    local op="$1"
    case "$op" in
        # -h|--help)      ;;  # help
        ,|--co)         ;;  # command copilot
        ,,|--coco)      ;;

        *)      ___x_cmd_pip_audit___exec   "$op" "$@" ;;
    esac
}

# https://github.com/pypa/advisory-database
___x_cmd_pip_audit___exec(){
    ___x_cmd_hasbin pip-audit || {
        ___x_cmd env try pip-audit || return 1
    }
    ___x_cmd_cmds pip-audit "$@"
}
