From f1fe0e9adfec4d83bef8ce5305a6c3279a4bf5ee Mon Sep 17 00:00:00 2001 From: Hassan El Mghari Date: Mon, 13 Feb 2023 18:44:42 -0500 Subject: [PATCH] downgraded inquirer --- README.md | 2 ++ package.json | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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" } }