GPT-3 powered cli tool to help with bash commands you can't remember
eg
$ qw ffmpeg command to transcode mp4 to mov
QWERY RESULT: ffmpeg -i input.mp4 -c:v libx264 -c:a copy -r 30 -f mov output.mov
Copy to clipboard? [y/n]:
Screen.Recording.2022-10-02.at.4.42.12.PM.mov
git clone
the repository and add bin to your path
in order to use copy to clipboard functionality you'll need to have xclip installed and be in an X environment on linux. Mac gets clipboard copy with no extra steps. If you're on linux with no X environment the qwery still gives the option to write to execute in a separate process.
first time setup will ask for your openai API key to use for queries (obviously openai API usage charges will be applied for usage of this tool)
qw [english text describing the command you want]
to change the api key just edit $HOME/.qwery.json