@diagramers/cli 4.0.4 → 4.0.5

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 (2) hide show
  1. package/README.md +45 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,3 +1,48 @@
1
+ # Diagramers CLI
2
+
3
+ ## Version Command
4
+
5
+ You can check the CLI version with:
6
+
7
+ ```
8
+ diagramers version
9
+ diagramers -V
10
+ diagramers api version
11
+ diagramers admin version
12
+ ```
13
+
14
+ ## Update Command
15
+
16
+ You can update your project with:
17
+
18
+ ```
19
+ diagramers update # (if supported at root)
20
+ diagramers admin update # For admin projects (legacy and new)
21
+ diagramers api update # For API projects (legacy and new)
22
+ ```
23
+
24
+ - For legacy projects, dependencies are updated as before.
25
+ - For new projects, only modules are updated/added.
26
+
27
+ ## Backward Compatibility
28
+
29
+ All previous commands are supported. New features (API commands, module addition) are available without breaking old workflows.
30
+
31
+ ## Usage Examples
32
+
33
+ ```
34
+ # Show CLI version
35
+ $ diagramers version
36
+ $ diagramers api version
37
+ $ diagramers admin version
38
+
39
+ # Update admin project
40
+ $ diagramers admin update
41
+
42
+ # Update API project
43
+ $ diagramers api update --modules odoo,notification
44
+ ```
45
+
1
46
  # @diagramers/cli
2
47
 
3
48
  A powerful command-line interface for scaffolding and managing Diagramers projects. The CLI provides comprehensive tools for creating, managing, and extending API and admin dashboard projects with advanced features and automation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diagramers/cli",
3
- "version": "4.0.4",
3
+ "version": "4.0.5",
4
4
  "description": "Diagramers CLI - Command-line tools for managing Diagramers projects",
5
5
  "main": "dist/index.js",
6
6
  "bin": {