feat: config command (#71)
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
---
|
||||
|
||||
## Installation and Usage
|
||||
The minimum supported version of Node.js is v14 LTS. You can check your Node.js version with `node --version`.
|
||||
|
||||
1. Install the CLI:
|
||||
|
||||
@@ -28,9 +27,11 @@ The minimum supported version of Node.js is v14 LTS. You can check your Node.js
|
||||
3. Set the key so aicommits can use it:
|
||||
|
||||
```sh
|
||||
echo "OPENAI_KEY=<your token>" >> ~/.aicommits
|
||||
aicommits config set OPENAI_KEY=<your token>
|
||||
```
|
||||
|
||||
This will create a `.aicommitsrc` file in your home directory.
|
||||
|
||||
4. You're ready to go!
|
||||
|
||||
Run `aicommits` in any Git repo and it will generate a commit message for you.
|
||||
|
||||
Reference in New Issue
Block a user