/qq

cli tool that grabs answers from stackoverflow for a specified question

Primary LanguageGoMIT LicenseMIT

qq (quick question)

cli tool that grabs answers from stackoverflow for a specified question, mostly aimed at a simpler questions which even the docs say:

For more general searching, you should use a proper internet search engine restricted to the domain of the site in question.

building

go build -o qq main.go

after building it you can put it into bin or $PATH or any other place way you want

usage

qq "your question" "tag"

search appears to just match your question as a substring to title/body, that is why question should be kept simple and less words usually gets better results
tag is a language, framework, etc.

commands

n - next answer
p - previous answer
e - exit qq
b - new answer
d - question body
c - toggle between comments and answer
h - help

windows

as far as I could find there is no way to disable input buffering and display of characters being entered on windows, therefore it does not work on windows