Looking for a quick and easy way to get answers to your programming questions? Here is how you can ask GPT-3 programming questions directly in the terminal using Python.
This tweet inspired me to build my own programming question CLI:
The terminal is the one application on my Mac that is always open. Whether I'm writing a blog post (GatsbyJS), building a new app or just tinkering in Jupyter Notebook. I always have a terminal window open.
So I thought, why not create a CLI app where I can ask GPT-3 programming-related questions?
Why not just use GitHub Copilot?
Simply because I don't always have VisualStudio Code open, but my terminal is literally always open and running.
So let's build our own CLI with these steps: