# shellcheck shell=dash

# Remove the support and log for version lower than v0.25.0

___x_cmd_pixi_exec(){
    local ret=
    ___x_cmd_pixi___runmain exec "$@" || {
        ret=$?
        ___x_cmd_pixi___runmain exec --help 2>/dev/null 1>/dev/null || {
            pixi:error "Please update Pixi to version 0.25.0 or higher."
            pixi:error \
                --en "x pixi self-update    # Pixi official upgrade command."   \
                --cn "x pixi --upgrade      # Suitable for users in China."     \
                "You can update Pixi using the following methods."
        }
        return "$ret"
    }
}
