Rename environment variable for OpenAI API key in README file and source code

This commit is contained in:
iamshabell
2023-02-14 12:06:15 +03:00
parent b956f07a3a
commit 574f0c335c
3 changed files with 9 additions and 8 deletions

View File

@@ -17,7 +17,7 @@
Install the CLI then grab your [OpenAI key](https://openai.com/api/) and add it as an env variable with the two commands below.
1. `npm install -g aicommits`
2. `export OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxx`
2. `export OPENAI_KEY=sk-xxxxxxxxxxxxxxxx`
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.
@@ -44,6 +44,7 @@ The next version of the CLI, version 2, will address both of these limitations a
- Add support for conventional commits as a flag that users can enable
- Add support for diffs greater than 200 lines by grabbing the diff per file
- Add support for a flag that can auto-accept
- Add opt-in emoji and languages flags
- Add ability to specify a commit message from inside aicommit
- Add opt-in emoji flag
- Add opt-in languages flag
- Build landing page for the 2.0 launch