# shellcheck shell=dash

___x_cmd_webtop_image_id(){
    local word="$1"
    word="${word#*/webtop:}"
    ___x_cmd docker -- \
        images -a --filter "reference=${___X_CMD_WEBTOP_URL_PREFIX}/webtop*${word}*" --format "{{.ID}}" \
    | ___x_cmd_cmds head -n 1
}

___x_cmd_webtop_image_id_(){
    [ $# -gt 0 ] || N=webtop M="Image id not specified" log:ret:1
    x_="$(___x_cmd_webtop_image_id "$@")"
}
