@twin.org/cli-core 0.0.1-next.9 → 0.0.1

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.
@@ -81,7 +81,7 @@ class CLIDisplay {
81
81
  if (lineBreaks) {
82
82
  CLIDisplay.writeError("\n");
83
83
  }
84
- const formatted = core.ErrorHelper.formatErrors(error);
84
+ const formatted = core.ErrorHelper.formatErrors(error, true);
85
85
  CLIDisplay.writeError(chalk.red(formatted.map(e => `\t${e}`).join("\n")));
86
86
  if (lineBreaks) {
87
87
  CLIDisplay.writeError("\n");
@@ -298,6 +298,17 @@ class CLIUtils {
298
298
  });
299
299
  });
300
300
  }
301
+ /**
302
+ * Run a shell command.
303
+ * @param command The app to run in the shell.
304
+ * @param args The args for the app.
305
+ * @param cwd The working directory to execute the command in.
306
+ * @returns Promise to wait for command execution to complete.
307
+ */
308
+ static async runShellCmd(command, args, cwd) {
309
+ const osCommand = process.platform.startsWith("win") ? `${command}.cmd` : command;
310
+ return CLIUtils.runShellApp(osCommand, args, cwd);
311
+ }
301
312
  /**
302
313
  * Run a shell app.
303
314
  * @param app The app to run in the shell.
@@ -305,10 +316,9 @@ class CLIUtils {
305
316
  * @param cwd The working directory to execute the command in.
306
317
  * @returns Promise to wait for command execution to complete.
307
318
  */
308
- static async runShellCmd(app, args, cwd) {
319
+ static async runShellApp(app, args, cwd) {
309
320
  return new Promise((resolve, reject) => {
310
- const osCommand = process.platform.startsWith("win") ? `${app}.cmd` : app;
311
- const sp = node_child_process.spawn(osCommand, args, {
321
+ const sp = node_child_process.spawn(app, args, {
312
322
  shell: true,
313
323
  cwd
314
324
  });
@@ -346,7 +356,7 @@ class CLIUtils {
346
356
  CLIDisplay.task(core.I18n.formatMessage("cli.progress.writingJsonFile"), filename);
347
357
  CLIDisplay.break();
348
358
  await promises.mkdir(path.dirname(filename), { recursive: true });
349
- await promises.writeFile(filename, JSON.stringify(core.ObjectHelper.merge(currentJson, data), undefined, "\t"));
359
+ await promises.writeFile(filename, `${JSON.stringify(core.ObjectHelper.merge(currentJson, data), undefined, "\t")}\n`);
350
360
  }
351
361
  }
352
362
  /**
@@ -377,7 +387,7 @@ class CLIUtils {
377
387
  for (const line of data) {
378
388
  const parts = line.split("=");
379
389
  const currentIndex = outputKeys.indexOf(parts[0]);
380
- if (currentIndex >= 0) {
390
+ if (currentIndex !== -1) {
381
391
  outputKeys.splice(currentIndex, 1);
382
392
  }
383
393
  outputKeys.push(parts[0]);
@@ -627,7 +637,7 @@ class CLIParam {
627
637
  return optionValue;
628
638
  }
629
639
  /**
630
- * Check the option to see if it exists.
640
+ * Check the option to see if the String exists.
631
641
  * @param optionName The name of the option.
632
642
  * @param optionValue The option value.
633
643
  * @param allowEnvVar Allow the option to be read from an env var.
@@ -640,7 +650,7 @@ class CLIParam {
640
650
  return optionValue;
641
651
  }
642
652
  /**
643
- * Check the option to see if it a url.
653
+ * Check the option to see if it is a url.
644
654
  * @param optionName The name of the option.
645
655
  * @param optionValue The option value.
646
656
  * @param allowEnvVar Allow the option to be read from an env var.
@@ -60,7 +60,7 @@ class CLIDisplay {
60
60
  if (lineBreaks) {
61
61
  CLIDisplay.writeError("\n");
62
62
  }
63
- const formatted = ErrorHelper.formatErrors(error);
63
+ const formatted = ErrorHelper.formatErrors(error, true);
64
64
  CLIDisplay.writeError(chalk.red(formatted.map(e => `\t${e}`).join("\n")));
65
65
  if (lineBreaks) {
66
66
  CLIDisplay.writeError("\n");
@@ -277,6 +277,17 @@ class CLIUtils {
277
277
  });
278
278
  });
279
279
  }
280
+ /**
281
+ * Run a shell command.
282
+ * @param command The app to run in the shell.
283
+ * @param args The args for the app.
284
+ * @param cwd The working directory to execute the command in.
285
+ * @returns Promise to wait for command execution to complete.
286
+ */
287
+ static async runShellCmd(command, args, cwd) {
288
+ const osCommand = process.platform.startsWith("win") ? `${command}.cmd` : command;
289
+ return CLIUtils.runShellApp(osCommand, args, cwd);
290
+ }
280
291
  /**
281
292
  * Run a shell app.
282
293
  * @param app The app to run in the shell.
@@ -284,10 +295,9 @@ class CLIUtils {
284
295
  * @param cwd The working directory to execute the command in.
285
296
  * @returns Promise to wait for command execution to complete.
286
297
  */
287
- static async runShellCmd(app, args, cwd) {
298
+ static async runShellApp(app, args, cwd) {
288
299
  return new Promise((resolve, reject) => {
289
- const osCommand = process.platform.startsWith("win") ? `${app}.cmd` : app;
290
- const sp = spawn(osCommand, args, {
300
+ const sp = spawn(app, args, {
291
301
  shell: true,
292
302
  cwd
293
303
  });
@@ -325,7 +335,7 @@ class CLIUtils {
325
335
  CLIDisplay.task(I18n.formatMessage("cli.progress.writingJsonFile"), filename);
326
336
  CLIDisplay.break();
327
337
  await mkdir(path.dirname(filename), { recursive: true });
328
- await writeFile(filename, JSON.stringify(ObjectHelper.merge(currentJson, data), undefined, "\t"));
338
+ await writeFile(filename, `${JSON.stringify(ObjectHelper.merge(currentJson, data), undefined, "\t")}\n`);
329
339
  }
330
340
  }
331
341
  /**
@@ -356,7 +366,7 @@ class CLIUtils {
356
366
  for (const line of data) {
357
367
  const parts = line.split("=");
358
368
  const currentIndex = outputKeys.indexOf(parts[0]);
359
- if (currentIndex >= 0) {
369
+ if (currentIndex !== -1) {
360
370
  outputKeys.splice(currentIndex, 1);
361
371
  }
362
372
  outputKeys.push(parts[0]);
@@ -606,7 +616,7 @@ class CLIParam {
606
616
  return optionValue;
607
617
  }
608
618
  /**
609
- * Check the option to see if it exists.
619
+ * Check the option to see if the String exists.
610
620
  * @param optionName The name of the option.
611
621
  * @param optionValue The option value.
612
622
  * @param allowEnvVar Allow the option to be read from an env var.
@@ -619,7 +629,7 @@ class CLIParam {
619
629
  return optionValue;
620
630
  }
621
631
  /**
622
- * Check the option to see if it a url.
632
+ * Check the option to see if it is a url.
623
633
  * @param optionName The name of the option.
624
634
  * @param optionValue The option value.
625
635
  * @param allowEnvVar Allow the option to be read from an env var.
@@ -12,7 +12,7 @@ export declare class CLIParam {
12
12
  */
13
13
  static env(optionName: string, optionValue: string | undefined, allowEnvVar: boolean): string | undefined;
14
14
  /**
15
- * Check the option to see if it exists.
15
+ * Check the option to see if the String exists.
16
16
  * @param optionName The name of the option.
17
17
  * @param optionValue The option value.
18
18
  * @param allowEnvVar Allow the option to be read from an env var.
@@ -21,7 +21,7 @@ export declare class CLIParam {
21
21
  */
22
22
  static stringValue(optionName: string, optionValue: string | undefined, allowEnvVar?: boolean): string;
23
23
  /**
24
- * Check the option to see if it a url.
24
+ * Check the option to see if it is a url.
25
25
  * @param optionName The name of the option.
26
26
  * @param optionValue The option value.
27
27
  * @param allowEnvVar Allow the option to be read from an env var.
@@ -56,6 +56,14 @@ export declare class CLIUtils {
56
56
  * @returns The root path.
57
57
  */
58
58
  static findNpmRoot(rootFolder: string): Promise<string>;
59
+ /**
60
+ * Run a shell command.
61
+ * @param command The app to run in the shell.
62
+ * @param args The args for the app.
63
+ * @param cwd The working directory to execute the command in.
64
+ * @returns Promise to wait for command execution to complete.
65
+ */
66
+ static runShellCmd(command: string, args: string[], cwd: string): Promise<void>;
59
67
  /**
60
68
  * Run a shell app.
61
69
  * @param app The app to run in the shell.
@@ -63,7 +71,7 @@ export declare class CLIUtils {
63
71
  * @param cwd The working directory to execute the command in.
64
72
  * @returns Promise to wait for command execution to complete.
65
73
  */
66
- static runShellCmd(app: string, args: string[], cwd: string): Promise<void>;
74
+ static runShellApp(app: string, args: string[], cwd: string): Promise<void>;
67
75
  /**
68
76
  * Write a JSON file.
69
77
  * @param jsonFilename The filename to write.
package/docs/changelog.md CHANGED
@@ -1,5 +1,375 @@
1
1
  # @twin.org/cli-core - Changelog
2
2
 
3
- ## 0.0.1-next.9
3
+ ## 0.0.1 (2025-07-03)
4
+
5
+
6
+ ### Features
7
+
8
+ * release to production ([829d53d](https://github.com/twinfoundation/framework/commit/829d53d3953b1e1b40b0243c04cfdfd3842aac7b))
9
+ * release to production ([5cf3a76](https://github.com/twinfoundation/framework/commit/5cf3a76a09eff2e6414d0cba846c7c37400a11d6))
10
+
11
+
12
+ ### Dependencies
13
+
14
+ * The following workspace dependencies were updated
15
+ * dependencies
16
+ * @twin.org/core bumped from ^0.0.0 to ^0.0.1
17
+ * @twin.org/crypto bumped from ^0.0.0 to ^0.0.1
18
+ * @twin.org/nameof bumped from ^0.0.0 to ^0.0.1
19
+ * devDependencies
20
+ * @twin.org/nameof-transformer bumped from ^0.0.0 to ^0.0.1
21
+ * @twin.org/nameof-vitest-plugin bumped from ^0.0.0 to ^0.0.1
22
+
23
+ ## [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)
24
+
25
+
26
+ ### Features
27
+
28
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
29
+ * improve error display in CLI ([94b6ca8](https://github.com/twinfoundation/framework/commit/94b6ca8bdcfe3ca7671c4095b436ea7bddaae98e))
30
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
31
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
32
+
33
+
34
+ ### Bug Fixes
35
+
36
+ * framework pr naming convention ([#142](https://github.com/twinfoundation/framework/issues/142)) ([e29acee](https://github.com/twinfoundation/framework/commit/e29acee2fbec42506091956d6ba8b8ce25a90008))
37
+
38
+
39
+ ### Dependencies
40
+
41
+ * The following workspace dependencies were updated
42
+ * dependencies
43
+ * @twin.org/core bumped from 0.0.1-next.69 to 0.0.1-next.70
44
+ * @twin.org/crypto bumped from 0.0.1-next.69 to 0.0.1-next.70
45
+ * @twin.org/nameof bumped from 0.0.1-next.69 to 0.0.1-next.70
46
+ * devDependencies
47
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.69 to 0.0.1-next.70
48
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.69 to 0.0.1-next.70
49
+
50
+ ## [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)
51
+
52
+
53
+ ### Features
54
+
55
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
56
+ * improve error display in CLI ([94b6ca8](https://github.com/twinfoundation/framework/commit/94b6ca8bdcfe3ca7671c4095b436ea7bddaae98e))
57
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
58
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
59
+
60
+
61
+ ### Bug Fixes
62
+
63
+ * framework pr naming convention ([#142](https://github.com/twinfoundation/framework/issues/142)) ([e29acee](https://github.com/twinfoundation/framework/commit/e29acee2fbec42506091956d6ba8b8ce25a90008))
64
+
65
+
66
+ ### Dependencies
67
+
68
+ * The following workspace dependencies were updated
69
+ * dependencies
70
+ * @twin.org/core bumped from 0.0.1-next.68 to 0.0.1-next.69
71
+ * @twin.org/crypto bumped from 0.0.1-next.68 to 0.0.1-next.69
72
+ * @twin.org/nameof bumped from 0.0.1-next.68 to 0.0.1-next.69
73
+ * devDependencies
74
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.68 to 0.0.1-next.69
75
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.68 to 0.0.1-next.69
76
+
77
+ ## [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)
78
+
79
+
80
+ ### Features
81
+
82
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
83
+
84
+
85
+ ### Dependencies
86
+
87
+ * The following workspace dependencies were updated
88
+ * dependencies
89
+ * @twin.org/core bumped from 0.0.1-next.67 to 0.0.1-next.68
90
+ * @twin.org/crypto bumped from 0.0.1-next.67 to 0.0.1-next.68
91
+ * @twin.org/nameof bumped from 0.0.1-next.67 to 0.0.1-next.68
92
+ * devDependencies
93
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.67 to 0.0.1-next.68
94
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.67 to 0.0.1-next.68
95
+
96
+ ## [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)
97
+
98
+
99
+ ### Miscellaneous Chores
100
+
101
+ * **cli-core:** Synchronize repo versions
102
+
103
+
104
+ ### Dependencies
105
+
106
+ * The following workspace dependencies were updated
107
+ * dependencies
108
+ * @twin.org/core bumped from 0.0.1-next.66 to 0.0.1-next.67
109
+ * @twin.org/crypto bumped from 0.0.1-next.66 to 0.0.1-next.67
110
+
111
+ ## [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)
112
+
113
+
114
+ ### Miscellaneous Chores
115
+
116
+ * **cli-core:** Synchronize repo versions
117
+
118
+
119
+ ### Dependencies
120
+
121
+ * The following workspace dependencies were updated
122
+ * dependencies
123
+ * @twin.org/core bumped from 0.0.1-next.65 to 0.0.1-next.66
124
+ * @twin.org/crypto bumped from 0.0.1-next.65 to 0.0.1-next.66
125
+
126
+ ## [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)
127
+
128
+
129
+ ### Miscellaneous Chores
130
+
131
+ * **cli-core:** Synchronize repo versions
132
+
133
+
134
+ ### Dependencies
135
+
136
+ * The following workspace dependencies were updated
137
+ * dependencies
138
+ * @twin.org/core bumped from 0.0.1-next.64 to 0.0.1-next.65
139
+ * @twin.org/crypto bumped from 0.0.1-next.64 to 0.0.1-next.65
140
+
141
+ ## [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)
142
+
143
+
144
+ ### Miscellaneous Chores
145
+
146
+ * **cli-core:** Synchronize repo versions
147
+
148
+
149
+ ### Dependencies
150
+
151
+ * The following workspace dependencies were updated
152
+ * dependencies
153
+ * @twin.org/core bumped from 0.0.1-next.63 to 0.0.1-next.64
154
+ * @twin.org/crypto bumped from 0.0.1-next.63 to 0.0.1-next.64
155
+
156
+ ## [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)
157
+
158
+
159
+ ### Miscellaneous Chores
160
+
161
+ * **cli-core:** Synchronize repo versions
162
+
163
+
164
+ ### Dependencies
165
+
166
+ * The following workspace dependencies were updated
167
+ * dependencies
168
+ * @twin.org/core bumped from 0.0.1-next.62 to 0.0.1-next.63
169
+ * @twin.org/crypto bumped from 0.0.1-next.62 to 0.0.1-next.63
170
+
171
+ ## [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)
172
+
173
+
174
+ ### Features
175
+
176
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
177
+ * improve error display in CLI ([94b6ca8](https://github.com/twinfoundation/framework/commit/94b6ca8bdcfe3ca7671c4095b436ea7bddaae98e))
178
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
179
+
180
+
181
+ ### Bug Fixes
182
+
183
+ * framework pr naming convention ([#142](https://github.com/twinfoundation/framework/issues/142)) ([e29acee](https://github.com/twinfoundation/framework/commit/e29acee2fbec42506091956d6ba8b8ce25a90008))
184
+
185
+
186
+ ### Dependencies
187
+
188
+ * The following workspace dependencies were updated
189
+ * dependencies
190
+ * @twin.org/core bumped from 0.0.1-next.61 to 0.0.1-next.62
191
+ * @twin.org/crypto bumped from 0.0.1-next.61 to 0.0.1-next.62
192
+
193
+ ## [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)
194
+
195
+
196
+ ### Miscellaneous Chores
197
+
198
+ * **cli-core:** Synchronize repo versions
199
+
200
+
201
+ ### Dependencies
202
+
203
+ * The following workspace dependencies were updated
204
+ * dependencies
205
+ * @twin.org/core bumped from 0.0.1-next.60 to 0.0.1-next.61
206
+ * @twin.org/crypto bumped from 0.0.1-next.60 to 0.0.1-next.61
207
+
208
+ ## [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)
209
+
210
+
211
+ ### Features
212
+
213
+ * improve error display in CLI ([94b6ca8](https://github.com/twinfoundation/framework/commit/94b6ca8bdcfe3ca7671c4095b436ea7bddaae98e))
214
+
215
+
216
+ ### Dependencies
217
+
218
+ * The following workspace dependencies were updated
219
+ * dependencies
220
+ * @twin.org/core bumped from 0.0.1-next.59 to 0.0.1-next.60
221
+ * @twin.org/crypto bumped from 0.0.1-next.59 to 0.0.1-next.60
222
+
223
+ ## [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)
224
+
225
+
226
+ ### Miscellaneous Chores
227
+
228
+ * **cli-core:** Synchronize repo versions
229
+
230
+
231
+ ### Dependencies
232
+
233
+ * The following workspace dependencies were updated
234
+ * dependencies
235
+ * @twin.org/core bumped from 0.0.1-next.58 to 0.0.1-next.59
236
+ * @twin.org/crypto bumped from 0.0.1-next.58 to 0.0.1-next.59
237
+
238
+ ## [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)
239
+
240
+
241
+ ### Bug Fixes
242
+
243
+ * framework pr naming convention ([#142](https://github.com/twinfoundation/framework/issues/142)) ([e29acee](https://github.com/twinfoundation/framework/commit/e29acee2fbec42506091956d6ba8b8ce25a90008))
244
+
245
+
246
+ ### Dependencies
247
+
248
+ * The following workspace dependencies were updated
249
+ * dependencies
250
+ * @twin.org/core bumped from 0.0.1-next.57 to 0.0.1-next.58
251
+ * @twin.org/crypto bumped from 0.0.1-next.57 to 0.0.1-next.58
252
+
253
+ ## [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)
254
+
255
+
256
+ ### Features
257
+
258
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
259
+
260
+
261
+ ### Dependencies
262
+
263
+ * The following workspace dependencies were updated
264
+ * dependencies
265
+ * @twin.org/core bumped from 0.0.1-next.56 to 0.0.1-next.57
266
+ * @twin.org/crypto bumped from 0.0.1-next.56 to 0.0.1-next.57
267
+
268
+ ## [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)
269
+
270
+
271
+ ### Miscellaneous Chores
272
+
273
+ * **cli-core:** Synchronize repo versions
274
+
275
+
276
+ ### Dependencies
277
+
278
+ * The following workspace dependencies were updated
279
+ * dependencies
280
+ * @twin.org/core bumped from 0.0.1-next.55 to 0.0.1-next.56
281
+ * @twin.org/crypto bumped from 0.0.1-next.55 to 0.0.1-next.56
282
+
283
+ ## [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)
284
+
285
+
286
+ ### Miscellaneous Chores
287
+
288
+ * **cli-core:** Synchronize repo versions
289
+
290
+
291
+ ### Dependencies
292
+
293
+ * The following workspace dependencies were updated
294
+ * dependencies
295
+ * @twin.org/core bumped from 0.0.1-next.54 to 0.0.1-next.55
296
+ * @twin.org/crypto bumped from 0.0.1-next.54 to 0.0.1-next.55
297
+
298
+ ## [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)
299
+
300
+
301
+ ### Miscellaneous Chores
302
+
303
+ * **cli-core:** Synchronize repo versions
304
+
305
+
306
+ ### Dependencies
307
+
308
+ * The following workspace dependencies were updated
309
+ * dependencies
310
+ * @twin.org/core bumped from 0.0.1-next.53 to 0.0.1-next.54
311
+ * @twin.org/crypto bumped from 0.0.1-next.53 to 0.0.1-next.54
312
+
313
+ ## [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)
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.52 to 0.0.1-next.53
326
+ * @twin.org/crypto bumped from 0.0.1-next.52 to 0.0.1-next.53
327
+
328
+ ## [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)
329
+
330
+
331
+ ### Features
332
+
333
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
334
+
335
+
336
+ ### Dependencies
337
+
338
+ * The following workspace dependencies were updated
339
+ * dependencies
340
+ * @twin.org/core bumped from 0.0.1-next.51 to 0.0.1-next.52
341
+ * @twin.org/crypto bumped from 0.0.1-next.51 to 0.0.1-next.52
342
+
343
+ ## [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)
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.50 to 0.0.1-next.51
356
+ * @twin.org/crypto bumped from 0.0.1-next.50 to 0.0.1-next.51
357
+
358
+ ## [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)
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.49 to 0.0.1-next.50
371
+ * @twin.org/crypto bumped from 0.0.1-next.49 to 0.0.1-next.50
372
+
373
+ ## 0.0.1-next.49
4
374
 
5
375
  - Initial Release
@@ -4,13 +4,13 @@ The main entry point for the CLI.
4
4
 
5
5
  ## Constructors
6
6
 
7
- ### new CLIBase()
7
+ ### Constructor
8
8
 
9
- > **new CLIBase**(): [`CLIBase`](CLIBase.md)
9
+ > **new CLIBase**(): `CLIBase`
10
10
 
11
11
  #### Returns
12
12
 
13
- [`CLIBase`](CLIBase.md)
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
- **options**: [`ICliOptions`](../interfaces/ICliOptions.md)
25
+ ##### options
26
+
27
+ [`ICliOptions`](../interfaces/ICliOptions.md)
26
28
 
27
29
  The options for the CLI.
28
30
 
29
- **localesDirectory**: `string`
31
+ ##### localesDirectory
32
+
33
+ `string`
30
34
 
31
35
  The path to load the locales from.
32
36
 
33
- **argv**: `string`[]
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
- **program**: `Command`
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
- **program**: `Command`
79
+ ##### program
80
+
81
+ `Command`
72
82
 
73
83
  The main program that the commands will be added to.
74
84