# shellcheck shell=sh disable=SC3043 # xrc

xrc:mod:lib wx      util

# wx is a tar.gz file
# x wx work
# x wx --verbose work
# x work.wx
# x @l/work
# xwx work

___x_cmd_wx(){
    local op="$1"
    case "$op" in
        pkg|unpkg|run)      shift; ___x_cmd_wx_"$op" "$@"     ;;
        --help|-h)      x help -m wx >&2; return 1 ;;
        *)              ___x_cmd_wx_run "$@"            ;;
    esac
}

xrc setmain ___x_cmd_wx

