downgraded inquirer

This commit is contained in:
Hassan El Mghari
2023-02-13 18:44:42 -05:00
parent 8cd36c1975
commit f1fe0e9adf
2 changed files with 4 additions and 2 deletions

View File

@@ -13,6 +13,8 @@ Install the CLI then grab your [OpenAI key](https://openai.com/api/) and add it
Then after running a `git add .` command in a git repo, use this CLI by simply running `aicommits` to generate your commit.
> Note: If you get a EACCESS error on mac/linux when running the first command, try running it with `sudo npm install -g aicommits` and putting in your password.
## How it works
This CLI tool runs a `git diff` command to grab all the latest changes, sends this to OpenAI's GPT-3, then returns the AI generated commit message. Video coming soon where I rebuild it from scratch to show you how to easily build your own CLI tools powered by AI.