Your second pilot in the terminal.
Wingman is a tool that helps you to generate shell commands using OpenAI GPT-3 model.
Just download the binary from the releases page and put it in your $PATH.
Alternatively, you can install it using eget:
eget harnyk/wingmanYou need to get an API key from OpenAI.
Then, you need to create a file ~/.wingman.yaml with the following content:
openai_token = <your key>
openai_model = gpt-4oopenai_model can be omitted if you want to use the default model, which is gpt-3.5-turbo.
wingman <your query>
# For example:
wingman display weather forecast in Kyiv