diff --git a/README.md b/README.md index 59e43c0..705cd02 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/package.json b/package.json index 12d1def..1b49a02 100644 --- a/package.json +++ b/package.json @@ -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" } }