kimu-cli 1.3.0 → 1.3.2

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.
@@ -1,111 +1,111 @@
1
- # kimu install
2
-
3
- Install modules and extensions for your KIMU project.
4
-
5
- ## Syntax
6
- ```bash
7
- kimu install module <name> [options]
8
- kimu install extension <name> [options]
9
- ```
10
-
11
- ## Arguments
12
- - `module <name>`: install a specific module from the KIMU modules registry
13
- - `extension <name>`: install a specific extension from the KIMU extensions registry
14
-
15
- > ⚠️ **It is strongly recommended to always specify `module` or `extension` explicitly.**
16
- > The generic `kimu install <name>` syntax is discouraged to avoid ambiguity with third-party or similarly named packages.
17
-
18
- ## Abbreviations
19
-
20
- You can use short aliases for install commands:
21
-
22
- - `kimu i m <name>` → `kimu install module <name>`
23
- - `kimu i e <name>` → `kimu install extension <name>`
24
-
25
- ## Options
26
- - `--save-dev`: install as development dependency
27
- - `--registry <url>`: use custom registry URL
28
- - `--version <version>`: install specific version
29
- - `--force`: force reinstall if already installed
30
- - `--verbose`: show detailed installation progress
31
-
32
- ## Examples
33
- ```bash
34
- # Install a module
35
- kimu install module router
36
- # Or using abbreviation
37
- kimu i m router
38
-
39
- # Install an extension
40
- kimu install extension dashboard
41
- # Or using abbreviation
42
- kimu i e dashboard
43
-
44
- # Install specific version
45
- kimu install module router --version 1.2.0
46
-
47
- # Install from custom registry
48
- kimu install module router --registry https://custom-registry.com
49
-
50
- # Force reinstall
51
- kimu install module router --force
52
-
53
- # Verbose output
54
- kimu install module analytics --verbose
55
- ```
56
-
57
- ## Listing available and installed modules/extensions
58
-
59
- To list available modules/extensions from the registry:
60
- ```bash
61
- kimu list modules # Shows all modules with [installed] marker
62
- kimu list extensions # Shows all extensions with [installed] marker
63
- ```
64
-
65
- To list only installed modules/extensions in your project:
66
- ```bash
67
- kimu list installed # Shows installed modules and extensions
68
- ```
69
-
70
- The `list modules` and `list extensions` commands show:
71
- - ✓ Green checkmark for installed packages
72
- - ○ Gray circle for available packages
73
- - `[installed]` label for clarity
74
-
75
- ## What it does
76
- - Downloads the specified module or extension from the registry
77
- - Resolves and installs dependencies
78
- - Updates kimu.config.json with the new installation
79
- - Verifies compatibility with current KIMU-Core version
80
- - Sets up module/extension in the correct project structure
81
-
82
- ## Notes
83
- - Must be run from within a KIMU project directory
84
- - Automatically resolves dependencies and compatibility
85
- - Updates project configuration files
86
- - Supports both official and community packages
87
- - Requires internet connection to access registries
88
-
89
- ## Registry Sources
90
- - Official KIMU modules: `https://github.com/unicoverso/kimu-modules`
91
- - Community extensions: `https://github.com/unicoverso/kimu-extensions`
92
- - Custom registries supported via `--registry` option
93
-
94
- ## Status
95
- ✅ **Command available (mock version)**
96
- - Current status: The install command is available and simulates the installation of modules or extensions from the registry (mock). The real logic for download and integration will be added in future releases.
97
- - Target: Full registry integration and dependency resolution coming soon.
98
-
99
- ### Current behavior (December 2025)
100
- - The command accepts the name of a module or extension and shows a simulated installation.
101
- - You must specify `module` or `extension` explicitly.
102
- - Example:
103
- ```bash
104
- kimu install module router
105
- kimu i m router
106
- kimu install extension app-root
107
- kimu i e kimu-dashboard
108
- kimu install module analytics --verbose
109
- ```
110
- - Simulated success or error output.
111
- - The structure is ready to be connected to a real registry.
1
+ # kimu install
2
+
3
+ Install modules and extensions for your KIMU project.
4
+
5
+ ## Syntax
6
+ ```bash
7
+ kimu install module <name> [options]
8
+ kimu install extension <name> [options]
9
+ ```
10
+
11
+ ## Arguments
12
+ - `module <name>`: install a specific module from the KIMU modules registry
13
+ - `extension <name>`: install a specific extension from the KIMU extensions registry
14
+
15
+ > ⚠️ **It is strongly recommended to always specify `module` or `extension` explicitly.**
16
+ > The generic `kimu install <name>` syntax is discouraged to avoid ambiguity with third-party or similarly named packages.
17
+
18
+ ## Abbreviations
19
+
20
+ You can use short aliases for install commands:
21
+
22
+ - `kimu i m <name>` → `kimu install module <name>`
23
+ - `kimu i e <name>` → `kimu install extension <name>`
24
+
25
+ ## Options
26
+ - `--save-dev`: install as development dependency
27
+ - `--registry <url>`: use custom registry URL
28
+ - `--version <version>`: install specific version
29
+ - `--force`: force reinstall if already installed
30
+ - `--verbose`: show detailed installation progress
31
+
32
+ ## Examples
33
+ ```bash
34
+ # Install a module
35
+ kimu install module router
36
+ # Or using abbreviation
37
+ kimu i m router
38
+
39
+ # Install an extension
40
+ kimu install extension dashboard
41
+ # Or using abbreviation
42
+ kimu i e dashboard
43
+
44
+ # Install specific version
45
+ kimu install module router --version 1.2.0
46
+
47
+ # Install from custom registry
48
+ kimu install module router --registry https://custom-registry.com
49
+
50
+ # Force reinstall
51
+ kimu install module router --force
52
+
53
+ # Verbose output
54
+ kimu install module analytics --verbose
55
+ ```
56
+
57
+ ## Listing available and installed modules/extensions
58
+
59
+ To list available modules/extensions from the registry:
60
+ ```bash
61
+ kimu list modules # Shows all modules with [installed] marker
62
+ kimu list extensions # Shows all extensions with [installed] marker
63
+ ```
64
+
65
+ To list only installed modules/extensions in your project:
66
+ ```bash
67
+ kimu list installed # Shows installed modules and extensions
68
+ ```
69
+
70
+ The `list modules` and `list extensions` commands show:
71
+ - ✓ Green checkmark for installed packages
72
+ - ○ Gray circle for available packages
73
+ - `[installed]` label for clarity
74
+
75
+ ## What it does
76
+ - Downloads the specified module or extension from the registry
77
+ - Resolves and installs dependencies
78
+ - Updates kimu.config.json with the new installation
79
+ - Verifies compatibility with current KIMU-Core version
80
+ - Sets up module/extension in the correct project structure
81
+
82
+ ## Notes
83
+ - Must be run from within a KIMU project directory
84
+ - Automatically resolves dependencies and compatibility
85
+ - Updates project configuration files
86
+ - Supports both official and community packages
87
+ - Requires internet connection to access registries
88
+
89
+ ## Registry Sources
90
+ - Official KIMU modules: `https://github.com/unicoverso/kimu-modules`
91
+ - Community extensions: `https://github.com/unicoverso/kimu-extensions`
92
+ - Custom registries supported via `--registry` option
93
+
94
+ ## Status
95
+ ✅ **Command available (mock version)**
96
+ - Current status: The install command is available and simulates the installation of modules or extensions from the registry (mock). The real logic for download and integration will be added in future releases.
97
+ - Target: Full registry integration and dependency resolution coming soon.
98
+
99
+ ### Current behavior (December 2025)
100
+ - The command accepts the name of a module or extension and shows a simulated installation.
101
+ - You must specify `module` or `extension` explicitly.
102
+ - Example:
103
+ ```bash
104
+ kimu install module router
105
+ kimu i m router
106
+ kimu install extension app-root
107
+ kimu i e kimu-dashboard
108
+ kimu install module analytics --verbose
109
+ ```
110
+ - Simulated success or error output.
111
+ - The structure is ready to be connected to a real registry.