# shellcheck shell=dash disable=SC2317

xrc:mod:lib     webtop                  \
    container/util      container/ps    \
    container/run       container/id    container/portassign    \
    container/pause     container/rm    container/stop  container/restart   container/handle

___x_cmd_webtop_container(){
    [ $# -gt 0 ] || set -- ls

    local op="$1";  shift
    case "$op" in
        ls|ps)
            ___x_cmd_webtop_container_ps      "$@"
            ;;
        id|run|start|stop|restart|rmfa|rm|bash|\
        pause|unpause|foreach|name|handle)
            ___x_cmd_webtop_container_"$op"   "$@"
            ;;
        -h|--help)
            ___x_cmd help -m webtop container
            ;;
        *)
            N=webtop M="Unknwon op -> $op" log:ret:64
            ;;
    esac

}
