Intelli-CLI is a command-line tool that leverages the power of ChatGPT to help you find the exact command you want to execute.
To install Intelli-CLI, run the following command:
$ brew install kj455/tap/intelli-cli
You can then use the -h flag to view the help information:
$ intelli-cli -h
Before you can use Intelli-CLI, you will need to obtain an API key from OpenAI. Once you have your API key, run the following command and enter your key:
$ intelli-cli auth login
Your API key will be stored locally using go-keyring.
To use Intelli-CLI, provide a description of the task you would like to accomplish:
$ intelli-cli q <description>
# Example:
$ intelli-cli q "go command to format all files in this directory"
Intelli-CLI will then provide you with a list of suggestions. Select the one that best fits your needs.
Intelli-CLI is available under the MIT license.