+It's implemented like if `ddg` was a `recursive_filetype`. Hence, the idea is to use `wdoc --task=query --path='How is NVidia doing this month?' --query='How is NVidia doing this month' --filetype=ddg` (remember: `path` specifies the document and `query` the question to ask about the documents). To make it more natural, if any of `path` or `query` is missing, we replace it by the value of the other one. It can be shortened to: `wdoc web 'How is NVidia doing this month?'`. With `--ddg_max_result=5` you can specify the maximum number of results to get, use `--ddg_region=us-US` to get US only result, `--ddg_safesearch=on` to filter out NSFW results.
0 commit comments