aicommit2 2.4.23 → 2.4.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +12 -0
  2. package/dist/cli.mjs +104 -104
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -473,6 +473,18 @@ You can find the path of the currently loaded configuration file using the `conf
473
473
  aicommit2 config path
474
474
  ```
475
475
 
476
+ #### Environment Variable Expansion in Config File
477
+
478
+ You can use environment variables in your configuration file values. Both `$VAR` and `${VAR}` syntax are supported.
479
+
480
+ Example `config.ini`:
481
+
482
+ ```ini
483
+ [OPENAI]
484
+ key=$OPENAI_API_KEY
485
+ url=${CUSTOM_API_URL}/v1
486
+ ```
487
+
476
488
  #### Reading and Setting Configuration
477
489
 
478
490
  - READ: `aicommit2 config get [<key> [<key> ...]]`