# shellcheck shell=dash

___x_cmd_clawhub_u_get_token(){
    local token; ___x_cmd_clawhub_cur token:=token 2>/dev/null
    if [ ! "$token" ]; then
        ___x_cmd_ui_tf false "Token is empty, please set your ClawHub token first (x clawhub login)" >&2
        return 1
    fi
    printf "%s\n" "$token"
}
