3 ms·
I haven't had a chance to test it personally, but I think this is a main premise of GitHub's Copilot CLI product. Quoting below from https://githubnext.com/proj
by mitchellpkt 3y ago
I haven't had a chance to test it personally, but I think this is a main premise of GitHub's Copilot CLI product. Quoting below from https://githubnext.com/projects/copilot-cli https://githubnext.com/projects/copilot-cli
> Copilot for CLI provides three shell commands: `??`, `git?` and `gh?`:
> `??` is meant as the general-purpose goto for arbitrary shell commands. It will compose commands and loops, and throw around obscure find flags to satisfy your query.
> `git?` is used for searching specifically for git invocations. 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 jq expressions for you.