GitHub Copilot CLI is now generally available
Posted: (EET/GMT+2)
Microsoft has just recently made available the 1.0.0 version of GitHub Copilot's CLI (command-line) version. I've been working with the preview versions, and while there have been hiccups here and there, the basic promise is solid: being able to control a set of agents my giving instructions on what to do.
The CLI operates with a simple high-level model: when you open the CLI with the copilot command, it activates the current folder as your project folder. The assumption is that it contains, or will later contain your source code that the AI agent either writes or modifies for you.
In the Plan mode, you can ask the AI to generate a step-by-step proposal what it should do to solve a problem or create a new feature to the application, for example. Once the plan is complete, you can ask the AI agent(s) to start working on it.
Personally, I've found that asking for a plan beforehand is good if the operation is complicated and requires multiple steps. If it's something simple and straightforward, you can just as the AI agent to get working on the problem or requirement.
You can switch modes conveniently with the Shift+Tab keyboard shortcut.