aicommits 2.0.0 → 3.0.0

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.
package/README.md CHANGED
@@ -61,13 +61,19 @@ This will guide you through:
61
61
 
62
62
  Check the installed version with:
63
63
 
64
+ ```sh
65
+ aicommits --version
64
66
  ```
65
67
 
66
- aicommits --version
68
+ To update to the latest version, run:
67
69
 
70
+ ```sh
71
+ aicommits update
68
72
  ```
69
73
 
70
- If it's not the [latest version](https://github.com/Nutlope/aicommits/releases/latest), run:
74
+ This will automatically detect your package manager (npm, pnpm, yarn, or bun) and update using the correct command.
75
+
76
+ Alternatively, you can manually update:
71
77
 
72
78
  ```sh
73
79
  npm install -g aicommits
@@ -233,6 +239,21 @@ This will:
233
239
  - Let you select from available models or enter a custom model name
234
240
  - Update your configuration automatically
235
241
 
242
+ ### Updating aicommits
243
+
244
+ To update to the latest version, run:
245
+
246
+ ```sh
247
+ aicommits update
248
+ ```
249
+
250
+ This will:
251
+
252
+ - Check for the latest version on npm
253
+ - Detect your package manager (npm, pnpm, yarn, or bun)
254
+ - Update using the appropriate command
255
+ - Show progress and confirm when complete
256
+
236
257
  ### Reading a configuration value
237
258
 
238
259
  To retrieve a configuration option, use the command:
@@ -359,4 +380,4 @@ Video coming soon where I rebuild it from scratch to show you how to easily buil
359
380
 
360
381
  ## Contributing
361
382
 
362
- If you want to help fix a bug or implement a feature in [Issues](https://github.com/Nutlope/aicommits/issues), checkout the [Contribution Guide](CONTRIBUTING.md) to learn how to setup and test the project
383
+ If you want to help fix a bug or implement a feature in [Issues](https://github.com/Nutlope/aicommits/issues), checkout the [Contribution Guide](CONTRIBUTING.md) to learn how to setup and test the project