updated README
This commit is contained in:
@@ -19,7 +19,9 @@ Install the CLI then grab your [OpenAI key](https://openai.com/api/) and add it
|
|||||||
1. `npm install -g aicommits`
|
1. `npm install -g aicommits`
|
||||||
2. `export OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxx`
|
2. `export OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxx`
|
||||||
|
|
||||||
After that, generate your commit running `aicommits`.
|
It's recommended to add the line in #2 to your `.zshrc` or `.bashrc` so it persists instead of having to define it in each terminal session.
|
||||||
|
|
||||||
|
After doing the two steps above, generate your commit by running `aicommits`.
|
||||||
|
|
||||||
> Note: If you get a EACCESS error on mac/linux when running the first command, try running it with `sudo npm install -g aicommits`.
|
> Note: If you get a EACCESS error on mac/linux when running the first command, try running it with `sudo npm install -g aicommits`.
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "aicommits",
|
"name": "aicommits",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"description": "Writes your git commit messages for you with AI",
|
"description": "Writes your git commit messages for you with AI",
|
||||||
"main": "bin/index.js",
|
"main": "bin/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
Reference in New Issue
Block a user