The terminal is a powerful place: In a single line of arcane shell magic, you
can transform files and parse data at will. But it can take many years of
regular use to become a shell wizard. Even with solid proficiency, most of us
regularly need to optimistically type
--help or scroll through man pages.
Oftentimes, you simply turn to a web search, hopefully finding something like a
relevant StackOverflow answer that can get you to the next step.
What if you had a shell wizard by your side, with lexical knowledge of flags
and the entire AWK language? When you needed something more
cd myrepo, you could turn to this guru and just ask - in
regular, human language, what you wanted to get done!
We're building GitHub Copilot CLI: An AI programming assistant right in your terminal!
A screen capture is worth a thousand words:
GitHub Copilot CLI provides three shell commands:
??is meant as the general-purpose goto for arbitrary shell commands. It will compose commands and loops, and throw around obscure
findflags to satisfy your query.
git?is used for searching specifically for
gitinvocations. Compared to
??it will be more powerful at generating Git commands, and your queries can be more succinct when you don't need to explain that you're in the context of Git.
gh?combines the power of the GitHub CLI command and query interface with the convenience of having AI generate the complicated flags and
jqexpressions for you.
We're almost done getting this prototype ready so you can get your hands on it. To access the preview, you will need GitHub Copilot access.
Sign up to the waitlist, and we'll let you know when GitHub Copilot CLI is ready for you to give it a spin:Sign up