# shellcheck shell=dash
# Get a Wikipedia search suggestion for `query`

___x_cmd_wkp_suggest(){
    local IFS=" "
    local str="$*"

    local suggestion

    [ -n "$str" ] || M='Please provide some information you need to look up ' N=wkp log:ret:1
    ___x_cmd_wkp_search___get "$str" | {
        ___x_cmd jo env . suggestion=.query.searchinfo.suggestion
        printf "%s\n" "$suggestion"
    }
}