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.

View File

@@ -1,6 +1,6 @@
{
"name": "aicommits",
"version": "0.2.2",
"version": "0.2.3",
"description": "Writes your git commit messages for you with AI",
"main": "bin/index.js",
"bin": {
@@ -18,7 +18,7 @@
},
"dependencies": {
"chalk": "^4.1.2",
"inquirer": "^9.1.4",
"inquirer": "^8.0.0",
"node-fetch": "^3.3.0"
}
}