@twin.org/cli-core 0.0.1-next.9 → 0.0.2-next.10
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/dist/cjs/index.cjs +45 -9
- package/dist/esm/index.mjs +45 -9
- package/dist/types/cliDisplay.d.ts +5 -0
- package/dist/types/cliParam.d.ts +12 -2
- package/dist/types/cliUtils.d.ts +9 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/models/ICliOptions.d.ts +4 -0
- package/docs/changelog.md +588 -1
- package/docs/reference/classes/CLIBase.md +19 -9
- package/docs/reference/classes/CLIDisplay.md +75 -21
- package/docs/reference/classes/CLIOptions.md +22 -10
- package/docs/reference/classes/CLIParam.md +175 -47
- package/docs/reference/classes/CLIUtils.md +101 -25
- package/docs/reference/functions/addGlobalOptions.md +9 -3
- package/docs/reference/functions/initGlobalOptions.md +3 -1
- package/docs/reference/interfaces/ICliOptions.md +8 -0
- package/docs/reference/type-aliases/CliOutputOptions.md +1 -1
- package/locales/en.json +5 -0
- package/package.json +9 -9
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,592 @@
|
|
|
1
1
|
# @twin.org/cli-core - Changelog
|
|
2
2
|
|
|
3
|
-
## 0.0.
|
|
3
|
+
## [0.0.2-next.10](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.2-next.9...cli-core-v0.0.2-next.10) (2025-09-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add CLIParam.arrayOneOf ([18f0815](https://github.com/twinfoundation/framework/commit/18f08157e5305cddf65d09b36a51a91a0873e396))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/core bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
16
|
+
* @twin.org/crypto bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
17
|
+
* @twin.org/nameof bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
18
|
+
* devDependencies
|
|
19
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
20
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
21
|
+
|
|
22
|
+
## [0.0.2-next.9](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.2-next.8...cli-core-v0.0.2-next.9) (2025-09-08)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Miscellaneous Chores
|
|
26
|
+
|
|
27
|
+
* **cli-core:** Synchronize repo versions
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Dependencies
|
|
31
|
+
|
|
32
|
+
* The following workspace dependencies were updated
|
|
33
|
+
* dependencies
|
|
34
|
+
* @twin.org/core bumped from 0.0.2-next.8 to 0.0.2-next.9
|
|
35
|
+
* @twin.org/crypto bumped from 0.0.2-next.8 to 0.0.2-next.9
|
|
36
|
+
* @twin.org/nameof bumped from 0.0.2-next.8 to 0.0.2-next.9
|
|
37
|
+
* devDependencies
|
|
38
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.8 to 0.0.2-next.9
|
|
39
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.8 to 0.0.2-next.9
|
|
40
|
+
|
|
41
|
+
## [0.0.2-next.8](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.2-next.7...cli-core-v0.0.2-next.8) (2025-09-05)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Miscellaneous Chores
|
|
45
|
+
|
|
46
|
+
* **cli-core:** Synchronize repo versions
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Dependencies
|
|
50
|
+
|
|
51
|
+
* The following workspace dependencies were updated
|
|
52
|
+
* dependencies
|
|
53
|
+
* @twin.org/core bumped from 0.0.2-next.7 to 0.0.2-next.8
|
|
54
|
+
* @twin.org/crypto bumped from 0.0.2-next.7 to 0.0.2-next.8
|
|
55
|
+
* @twin.org/nameof bumped from 0.0.2-next.7 to 0.0.2-next.8
|
|
56
|
+
* devDependencies
|
|
57
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.7 to 0.0.2-next.8
|
|
58
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.7 to 0.0.2-next.8
|
|
59
|
+
|
|
60
|
+
## [0.0.2-next.7](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.2-next.6...cli-core-v0.0.2-next.7) (2025-08-29)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### Features
|
|
64
|
+
|
|
65
|
+
* eslint migration to flat config ([74427d7](https://github.com/twinfoundation/framework/commit/74427d78d342167f7850e49ab87269326355befe))
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### Dependencies
|
|
69
|
+
|
|
70
|
+
* The following workspace dependencies were updated
|
|
71
|
+
* dependencies
|
|
72
|
+
* @twin.org/core bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
73
|
+
* @twin.org/crypto bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
74
|
+
* @twin.org/nameof bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
75
|
+
* devDependencies
|
|
76
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
77
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
78
|
+
|
|
79
|
+
## [0.0.2-next.6](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.2-next.5...cli-core-v0.0.2-next.6) (2025-08-27)
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
### Miscellaneous Chores
|
|
83
|
+
|
|
84
|
+
* **cli-core:** Synchronize repo versions
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
### Dependencies
|
|
88
|
+
|
|
89
|
+
* The following workspace dependencies were updated
|
|
90
|
+
* dependencies
|
|
91
|
+
* @twin.org/core bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
92
|
+
* @twin.org/crypto bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
93
|
+
* @twin.org/nameof bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
94
|
+
* devDependencies
|
|
95
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
96
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
97
|
+
|
|
98
|
+
## [0.0.2-next.5](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.2-next.4...cli-core-v0.0.2-next.5) (2025-08-19)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
### Features
|
|
102
|
+
|
|
103
|
+
* use cause instead of inner for errors ([1f4acc4](https://github.com/twinfoundation/framework/commit/1f4acc4d7a6b71a134d9547da9bf40de1e1e49da))
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
### Dependencies
|
|
107
|
+
|
|
108
|
+
* The following workspace dependencies were updated
|
|
109
|
+
* dependencies
|
|
110
|
+
* @twin.org/core bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
111
|
+
* @twin.org/crypto bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
112
|
+
* @twin.org/nameof bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
113
|
+
* devDependencies
|
|
114
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
115
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
116
|
+
|
|
117
|
+
## [0.0.2-next.4](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.2-next.3...cli-core-v0.0.2-next.4) (2025-08-15)
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
### Miscellaneous Chores
|
|
121
|
+
|
|
122
|
+
* **cli-core:** Synchronize repo versions
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
### Dependencies
|
|
126
|
+
|
|
127
|
+
* The following workspace dependencies were updated
|
|
128
|
+
* dependencies
|
|
129
|
+
* @twin.org/core bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
130
|
+
* @twin.org/crypto bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
131
|
+
* @twin.org/nameof bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
132
|
+
* devDependencies
|
|
133
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
134
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
135
|
+
|
|
136
|
+
## [0.0.2-next.3](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.2-next.2...cli-core-v0.0.2-next.3) (2025-08-06)
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
### Features
|
|
140
|
+
|
|
141
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
142
|
+
* improve error display in CLI ([94b6ca8](https://github.com/twinfoundation/framework/commit/94b6ca8bdcfe3ca7671c4095b436ea7bddaae98e))
|
|
143
|
+
* relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
|
|
144
|
+
* update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
|
|
145
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
### Bug Fixes
|
|
149
|
+
|
|
150
|
+
* framework pr naming convention ([#142](https://github.com/twinfoundation/framework/issues/142)) ([e29acee](https://github.com/twinfoundation/framework/commit/e29acee2fbec42506091956d6ba8b8ce25a90008))
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
### Dependencies
|
|
154
|
+
|
|
155
|
+
* The following workspace dependencies were updated
|
|
156
|
+
* dependencies
|
|
157
|
+
* @twin.org/core bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
158
|
+
* @twin.org/crypto bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
159
|
+
* @twin.org/nameof bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
160
|
+
* devDependencies
|
|
161
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
162
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
163
|
+
|
|
164
|
+
## [0.0.2-next.2](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.2-next.1...cli-core-v0.0.2-next.2) (2025-08-06)
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
### Features
|
|
168
|
+
|
|
169
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
170
|
+
* improve error display in CLI ([94b6ca8](https://github.com/twinfoundation/framework/commit/94b6ca8bdcfe3ca7671c4095b436ea7bddaae98e))
|
|
171
|
+
* relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
|
|
172
|
+
* update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
|
|
173
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
### Bug Fixes
|
|
177
|
+
|
|
178
|
+
* framework pr naming convention ([#142](https://github.com/twinfoundation/framework/issues/142)) ([e29acee](https://github.com/twinfoundation/framework/commit/e29acee2fbec42506091956d6ba8b8ce25a90008))
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
### Dependencies
|
|
182
|
+
|
|
183
|
+
* The following workspace dependencies were updated
|
|
184
|
+
* dependencies
|
|
185
|
+
* @twin.org/core bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
186
|
+
* @twin.org/crypto bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
187
|
+
* @twin.org/nameof bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
188
|
+
* devDependencies
|
|
189
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
190
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
191
|
+
|
|
192
|
+
## [0.0.2-next.1](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.2-next.0...cli-core-v0.0.2-next.1) (2025-08-06)
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
### Features
|
|
196
|
+
|
|
197
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
198
|
+
* improve error display in CLI ([94b6ca8](https://github.com/twinfoundation/framework/commit/94b6ca8bdcfe3ca7671c4095b436ea7bddaae98e))
|
|
199
|
+
* relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
|
|
200
|
+
* update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
|
|
201
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
### Bug Fixes
|
|
205
|
+
|
|
206
|
+
* framework pr naming convention ([#142](https://github.com/twinfoundation/framework/issues/142)) ([e29acee](https://github.com/twinfoundation/framework/commit/e29acee2fbec42506091956d6ba8b8ce25a90008))
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
### Dependencies
|
|
210
|
+
|
|
211
|
+
* The following workspace dependencies were updated
|
|
212
|
+
* dependencies
|
|
213
|
+
* @twin.org/core bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
214
|
+
* @twin.org/crypto bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
215
|
+
* @twin.org/nameof bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
216
|
+
* devDependencies
|
|
217
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
218
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
219
|
+
|
|
220
|
+
## 0.0.1 (2025-07-03)
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
### Features
|
|
224
|
+
|
|
225
|
+
* release to production ([829d53d](https://github.com/twinfoundation/framework/commit/829d53d3953b1e1b40b0243c04cfdfd3842aac7b))
|
|
226
|
+
* release to production ([5cf3a76](https://github.com/twinfoundation/framework/commit/5cf3a76a09eff2e6414d0cba846c7c37400a11d6))
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
### Dependencies
|
|
230
|
+
|
|
231
|
+
* The following workspace dependencies were updated
|
|
232
|
+
* dependencies
|
|
233
|
+
* @twin.org/core bumped from ^0.0.0 to ^0.0.1
|
|
234
|
+
* @twin.org/crypto bumped from ^0.0.0 to ^0.0.1
|
|
235
|
+
* @twin.org/nameof bumped from ^0.0.0 to ^0.0.1
|
|
236
|
+
* devDependencies
|
|
237
|
+
* @twin.org/nameof-transformer bumped from ^0.0.0 to ^0.0.1
|
|
238
|
+
* @twin.org/nameof-vitest-plugin bumped from ^0.0.0 to ^0.0.1
|
|
239
|
+
|
|
240
|
+
## [0.0.1-next.70](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.69...cli-core-v0.0.1-next.70) (2025-07-02)
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
### Features
|
|
244
|
+
|
|
245
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
246
|
+
* improve error display in CLI ([94b6ca8](https://github.com/twinfoundation/framework/commit/94b6ca8bdcfe3ca7671c4095b436ea7bddaae98e))
|
|
247
|
+
* relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
|
|
248
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
### Bug Fixes
|
|
252
|
+
|
|
253
|
+
* framework pr naming convention ([#142](https://github.com/twinfoundation/framework/issues/142)) ([e29acee](https://github.com/twinfoundation/framework/commit/e29acee2fbec42506091956d6ba8b8ce25a90008))
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
### Dependencies
|
|
257
|
+
|
|
258
|
+
* The following workspace dependencies were updated
|
|
259
|
+
* dependencies
|
|
260
|
+
* @twin.org/core bumped from 0.0.1-next.69 to 0.0.1-next.70
|
|
261
|
+
* @twin.org/crypto bumped from 0.0.1-next.69 to 0.0.1-next.70
|
|
262
|
+
* @twin.org/nameof bumped from 0.0.1-next.69 to 0.0.1-next.70
|
|
263
|
+
* devDependencies
|
|
264
|
+
* @twin.org/nameof-transformer bumped from 0.0.1-next.69 to 0.0.1-next.70
|
|
265
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.69 to 0.0.1-next.70
|
|
266
|
+
|
|
267
|
+
## [0.0.1-next.69](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.68...cli-core-v0.0.1-next.69) (2025-07-02)
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
### Features
|
|
271
|
+
|
|
272
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
273
|
+
* improve error display in CLI ([94b6ca8](https://github.com/twinfoundation/framework/commit/94b6ca8bdcfe3ca7671c4095b436ea7bddaae98e))
|
|
274
|
+
* relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
|
|
275
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
### Bug Fixes
|
|
279
|
+
|
|
280
|
+
* framework pr naming convention ([#142](https://github.com/twinfoundation/framework/issues/142)) ([e29acee](https://github.com/twinfoundation/framework/commit/e29acee2fbec42506091956d6ba8b8ce25a90008))
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
### Dependencies
|
|
284
|
+
|
|
285
|
+
* The following workspace dependencies were updated
|
|
286
|
+
* dependencies
|
|
287
|
+
* @twin.org/core bumped from 0.0.1-next.68 to 0.0.1-next.69
|
|
288
|
+
* @twin.org/crypto bumped from 0.0.1-next.68 to 0.0.1-next.69
|
|
289
|
+
* @twin.org/nameof bumped from 0.0.1-next.68 to 0.0.1-next.69
|
|
290
|
+
* devDependencies
|
|
291
|
+
* @twin.org/nameof-transformer bumped from 0.0.1-next.68 to 0.0.1-next.69
|
|
292
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.68 to 0.0.1-next.69
|
|
293
|
+
|
|
294
|
+
## [0.0.1-next.68](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.67...cli-core-v0.0.1-next.68) (2025-07-02)
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
### Features
|
|
298
|
+
|
|
299
|
+
* relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
### Dependencies
|
|
303
|
+
|
|
304
|
+
* The following workspace dependencies were updated
|
|
305
|
+
* dependencies
|
|
306
|
+
* @twin.org/core bumped from 0.0.1-next.67 to 0.0.1-next.68
|
|
307
|
+
* @twin.org/crypto bumped from 0.0.1-next.67 to 0.0.1-next.68
|
|
308
|
+
* @twin.org/nameof bumped from 0.0.1-next.67 to 0.0.1-next.68
|
|
309
|
+
* devDependencies
|
|
310
|
+
* @twin.org/nameof-transformer bumped from 0.0.1-next.67 to 0.0.1-next.68
|
|
311
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.67 to 0.0.1-next.68
|
|
312
|
+
|
|
313
|
+
## [0.0.1-next.67](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.66...cli-core-v0.0.1-next.67) (2025-06-26)
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
### Miscellaneous Chores
|
|
317
|
+
|
|
318
|
+
* **cli-core:** Synchronize repo versions
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
### Dependencies
|
|
322
|
+
|
|
323
|
+
* The following workspace dependencies were updated
|
|
324
|
+
* dependencies
|
|
325
|
+
* @twin.org/core bumped from 0.0.1-next.66 to 0.0.1-next.67
|
|
326
|
+
* @twin.org/crypto bumped from 0.0.1-next.66 to 0.0.1-next.67
|
|
327
|
+
|
|
328
|
+
## [0.0.1-next.66](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.65...cli-core-v0.0.1-next.66) (2025-06-26)
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
### Miscellaneous Chores
|
|
332
|
+
|
|
333
|
+
* **cli-core:** Synchronize repo versions
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
### Dependencies
|
|
337
|
+
|
|
338
|
+
* The following workspace dependencies were updated
|
|
339
|
+
* dependencies
|
|
340
|
+
* @twin.org/core bumped from 0.0.1-next.65 to 0.0.1-next.66
|
|
341
|
+
* @twin.org/crypto bumped from 0.0.1-next.65 to 0.0.1-next.66
|
|
342
|
+
|
|
343
|
+
## [0.0.1-next.65](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.64...cli-core-v0.0.1-next.65) (2025-06-19)
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
### Miscellaneous Chores
|
|
347
|
+
|
|
348
|
+
* **cli-core:** Synchronize repo versions
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
### Dependencies
|
|
352
|
+
|
|
353
|
+
* The following workspace dependencies were updated
|
|
354
|
+
* dependencies
|
|
355
|
+
* @twin.org/core bumped from 0.0.1-next.64 to 0.0.1-next.65
|
|
356
|
+
* @twin.org/crypto bumped from 0.0.1-next.64 to 0.0.1-next.65
|
|
357
|
+
|
|
358
|
+
## [0.0.1-next.64](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.63...cli-core-v0.0.1-next.64) (2025-06-19)
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
### Miscellaneous Chores
|
|
362
|
+
|
|
363
|
+
* **cli-core:** Synchronize repo versions
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
### Dependencies
|
|
367
|
+
|
|
368
|
+
* The following workspace dependencies were updated
|
|
369
|
+
* dependencies
|
|
370
|
+
* @twin.org/core bumped from 0.0.1-next.63 to 0.0.1-next.64
|
|
371
|
+
* @twin.org/crypto bumped from 0.0.1-next.63 to 0.0.1-next.64
|
|
372
|
+
|
|
373
|
+
## [0.0.1-next.63](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.62...cli-core-v0.0.1-next.63) (2025-06-18)
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
### Miscellaneous Chores
|
|
377
|
+
|
|
378
|
+
* **cli-core:** Synchronize repo versions
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
### Dependencies
|
|
382
|
+
|
|
383
|
+
* The following workspace dependencies were updated
|
|
384
|
+
* dependencies
|
|
385
|
+
* @twin.org/core bumped from 0.0.1-next.62 to 0.0.1-next.63
|
|
386
|
+
* @twin.org/crypto bumped from 0.0.1-next.62 to 0.0.1-next.63
|
|
387
|
+
|
|
388
|
+
## [0.0.1-next.62](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.61...cli-core-v0.0.1-next.62) (2025-06-17)
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
### Features
|
|
392
|
+
|
|
393
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
394
|
+
* improve error display in CLI ([94b6ca8](https://github.com/twinfoundation/framework/commit/94b6ca8bdcfe3ca7671c4095b436ea7bddaae98e))
|
|
395
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
### Bug Fixes
|
|
399
|
+
|
|
400
|
+
* framework pr naming convention ([#142](https://github.com/twinfoundation/framework/issues/142)) ([e29acee](https://github.com/twinfoundation/framework/commit/e29acee2fbec42506091956d6ba8b8ce25a90008))
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
### Dependencies
|
|
404
|
+
|
|
405
|
+
* The following workspace dependencies were updated
|
|
406
|
+
* dependencies
|
|
407
|
+
* @twin.org/core bumped from 0.0.1-next.61 to 0.0.1-next.62
|
|
408
|
+
* @twin.org/crypto bumped from 0.0.1-next.61 to 0.0.1-next.62
|
|
409
|
+
|
|
410
|
+
## [0.0.1-next.61](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.60...cli-core-v0.0.1-next.61) (2025-06-17)
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
### Miscellaneous Chores
|
|
414
|
+
|
|
415
|
+
* **cli-core:** Synchronize repo versions
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
### Dependencies
|
|
419
|
+
|
|
420
|
+
* The following workspace dependencies were updated
|
|
421
|
+
* dependencies
|
|
422
|
+
* @twin.org/core bumped from 0.0.1-next.60 to 0.0.1-next.61
|
|
423
|
+
* @twin.org/crypto bumped from 0.0.1-next.60 to 0.0.1-next.61
|
|
424
|
+
|
|
425
|
+
## [0.0.1-next.60](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.59...cli-core-v0.0.1-next.60) (2025-06-17)
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
### Features
|
|
429
|
+
|
|
430
|
+
* improve error display in CLI ([94b6ca8](https://github.com/twinfoundation/framework/commit/94b6ca8bdcfe3ca7671c4095b436ea7bddaae98e))
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
### Dependencies
|
|
434
|
+
|
|
435
|
+
* The following workspace dependencies were updated
|
|
436
|
+
* dependencies
|
|
437
|
+
* @twin.org/core bumped from 0.0.1-next.59 to 0.0.1-next.60
|
|
438
|
+
* @twin.org/crypto bumped from 0.0.1-next.59 to 0.0.1-next.60
|
|
439
|
+
|
|
440
|
+
## [0.0.1-next.59](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.58...cli-core-v0.0.1-next.59) (2025-06-17)
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
### Miscellaneous Chores
|
|
444
|
+
|
|
445
|
+
* **cli-core:** Synchronize repo versions
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
### Dependencies
|
|
449
|
+
|
|
450
|
+
* The following workspace dependencies were updated
|
|
451
|
+
* dependencies
|
|
452
|
+
* @twin.org/core bumped from 0.0.1-next.58 to 0.0.1-next.59
|
|
453
|
+
* @twin.org/crypto bumped from 0.0.1-next.58 to 0.0.1-next.59
|
|
454
|
+
|
|
455
|
+
## [0.0.1-next.58](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.57...cli-core-v0.0.1-next.58) (2025-06-13)
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
### Bug Fixes
|
|
459
|
+
|
|
460
|
+
* framework pr naming convention ([#142](https://github.com/twinfoundation/framework/issues/142)) ([e29acee](https://github.com/twinfoundation/framework/commit/e29acee2fbec42506091956d6ba8b8ce25a90008))
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
### Dependencies
|
|
464
|
+
|
|
465
|
+
* The following workspace dependencies were updated
|
|
466
|
+
* dependencies
|
|
467
|
+
* @twin.org/core bumped from 0.0.1-next.57 to 0.0.1-next.58
|
|
468
|
+
* @twin.org/crypto bumped from 0.0.1-next.57 to 0.0.1-next.58
|
|
469
|
+
|
|
470
|
+
## [0.0.1-next.57](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.56...cli-core-v0.0.1-next.57) (2025-06-10)
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
### Features
|
|
474
|
+
|
|
475
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
### Dependencies
|
|
479
|
+
|
|
480
|
+
* The following workspace dependencies were updated
|
|
481
|
+
* dependencies
|
|
482
|
+
* @twin.org/core bumped from 0.0.1-next.56 to 0.0.1-next.57
|
|
483
|
+
* @twin.org/crypto bumped from 0.0.1-next.56 to 0.0.1-next.57
|
|
484
|
+
|
|
485
|
+
## [0.0.1-next.56](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.55...cli-core-v0.0.1-next.56) (2025-05-08)
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
### Miscellaneous Chores
|
|
489
|
+
|
|
490
|
+
* **cli-core:** Synchronize repo versions
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
### Dependencies
|
|
494
|
+
|
|
495
|
+
* The following workspace dependencies were updated
|
|
496
|
+
* dependencies
|
|
497
|
+
* @twin.org/core bumped from 0.0.1-next.55 to 0.0.1-next.56
|
|
498
|
+
* @twin.org/crypto bumped from 0.0.1-next.55 to 0.0.1-next.56
|
|
499
|
+
|
|
500
|
+
## [0.0.1-next.55](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.54...cli-core-v0.0.1-next.55) (2025-05-07)
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
### Miscellaneous Chores
|
|
504
|
+
|
|
505
|
+
* **cli-core:** Synchronize repo versions
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
### Dependencies
|
|
509
|
+
|
|
510
|
+
* The following workspace dependencies were updated
|
|
511
|
+
* dependencies
|
|
512
|
+
* @twin.org/core bumped from 0.0.1-next.54 to 0.0.1-next.55
|
|
513
|
+
* @twin.org/crypto bumped from 0.0.1-next.54 to 0.0.1-next.55
|
|
514
|
+
|
|
515
|
+
## [0.0.1-next.54](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.53...cli-core-v0.0.1-next.54) (2025-05-06)
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
### Miscellaneous Chores
|
|
519
|
+
|
|
520
|
+
* **cli-core:** Synchronize repo versions
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
### Dependencies
|
|
524
|
+
|
|
525
|
+
* The following workspace dependencies were updated
|
|
526
|
+
* dependencies
|
|
527
|
+
* @twin.org/core bumped from 0.0.1-next.53 to 0.0.1-next.54
|
|
528
|
+
* @twin.org/crypto bumped from 0.0.1-next.53 to 0.0.1-next.54
|
|
529
|
+
|
|
530
|
+
## [0.0.1-next.53](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.52...cli-core-v0.0.1-next.53) (2025-05-01)
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
### Miscellaneous Chores
|
|
534
|
+
|
|
535
|
+
* **cli-core:** Synchronize repo versions
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
### Dependencies
|
|
539
|
+
|
|
540
|
+
* The following workspace dependencies were updated
|
|
541
|
+
* dependencies
|
|
542
|
+
* @twin.org/core bumped from 0.0.1-next.52 to 0.0.1-next.53
|
|
543
|
+
* @twin.org/crypto bumped from 0.0.1-next.52 to 0.0.1-next.53
|
|
544
|
+
|
|
545
|
+
## [0.0.1-next.52](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.51...cli-core-v0.0.1-next.52) (2025-04-17)
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
### Features
|
|
549
|
+
|
|
550
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
### Dependencies
|
|
554
|
+
|
|
555
|
+
* The following workspace dependencies were updated
|
|
556
|
+
* dependencies
|
|
557
|
+
* @twin.org/core bumped from 0.0.1-next.51 to 0.0.1-next.52
|
|
558
|
+
* @twin.org/crypto bumped from 0.0.1-next.51 to 0.0.1-next.52
|
|
559
|
+
|
|
560
|
+
## [0.0.1-next.51](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.50...cli-core-v0.0.1-next.51) (2025-03-27)
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
### Miscellaneous Chores
|
|
564
|
+
|
|
565
|
+
* **cli-core:** Synchronize repo versions
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
### Dependencies
|
|
569
|
+
|
|
570
|
+
* The following workspace dependencies were updated
|
|
571
|
+
* dependencies
|
|
572
|
+
* @twin.org/core bumped from 0.0.1-next.50 to 0.0.1-next.51
|
|
573
|
+
* @twin.org/crypto bumped from 0.0.1-next.50 to 0.0.1-next.51
|
|
574
|
+
|
|
575
|
+
## [0.0.1-next.50](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.1-next.49...cli-core-v0.0.1-next.50) (2025-03-26)
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
### Miscellaneous Chores
|
|
579
|
+
|
|
580
|
+
* **cli-core:** Synchronize repo versions
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
### Dependencies
|
|
584
|
+
|
|
585
|
+
* The following workspace dependencies were updated
|
|
586
|
+
* dependencies
|
|
587
|
+
* @twin.org/core bumped from 0.0.1-next.49 to 0.0.1-next.50
|
|
588
|
+
* @twin.org/crypto bumped from 0.0.1-next.49 to 0.0.1-next.50
|
|
589
|
+
|
|
590
|
+
## 0.0.1-next.49
|
|
4
591
|
|
|
5
592
|
- Initial Release
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
# Class:
|
|
1
|
+
# Abstract Class: CLIBase
|
|
2
2
|
|
|
3
3
|
The main entry point for the CLI.
|
|
4
4
|
|
|
5
5
|
## Constructors
|
|
6
6
|
|
|
7
|
-
###
|
|
7
|
+
### Constructor
|
|
8
8
|
|
|
9
|
-
> **new CLIBase**():
|
|
9
|
+
> **new CLIBase**(): `CLIBase`
|
|
10
10
|
|
|
11
11
|
#### Returns
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
`CLIBase`
|
|
14
14
|
|
|
15
15
|
## Methods
|
|
16
16
|
|
|
@@ -22,15 +22,21 @@ Execute the command line processing.
|
|
|
22
22
|
|
|
23
23
|
#### Parameters
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
##### options
|
|
26
|
+
|
|
27
|
+
[`ICliOptions`](../interfaces/ICliOptions.md)
|
|
26
28
|
|
|
27
29
|
The options for the CLI.
|
|
28
30
|
|
|
29
|
-
|
|
31
|
+
##### localesDirectory
|
|
32
|
+
|
|
33
|
+
`string`
|
|
30
34
|
|
|
31
35
|
The path to load the locales from.
|
|
32
36
|
|
|
33
|
-
|
|
37
|
+
##### argv
|
|
38
|
+
|
|
39
|
+
`string`[]
|
|
34
40
|
|
|
35
41
|
The process arguments.
|
|
36
42
|
|
|
@@ -50,7 +56,9 @@ Configure any options or actions at the root program level.
|
|
|
50
56
|
|
|
51
57
|
#### Parameters
|
|
52
58
|
|
|
53
|
-
|
|
59
|
+
##### program
|
|
60
|
+
|
|
61
|
+
`Command`
|
|
54
62
|
|
|
55
63
|
The root program command.
|
|
56
64
|
|
|
@@ -68,7 +76,9 @@ Get the commands for the CLI, override in derived class to supply your own.
|
|
|
68
76
|
|
|
69
77
|
#### Parameters
|
|
70
78
|
|
|
71
|
-
|
|
79
|
+
##### program
|
|
80
|
+
|
|
81
|
+
`Command`
|
|
72
82
|
|
|
73
83
|
The main program that the commands will be added to.
|
|
74
84
|
|