@twin.org/cli-core 0.0.1-next.6 → 0.0.1-next.62

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,207 @@
1
1
  # @twin.org/cli-core - Changelog
2
2
 
3
- ## 0.0.1-next.6
3
+ ## [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)
4
+
5
+
6
+ ### Features
7
+
8
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
9
+ * improve error display in CLI ([94b6ca8](https://github.com/twinfoundation/framework/commit/94b6ca8bdcfe3ca7671c4095b436ea7bddaae98e))
10
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * framework pr naming convention ([#142](https://github.com/twinfoundation/framework/issues/142)) ([e29acee](https://github.com/twinfoundation/framework/commit/e29acee2fbec42506091956d6ba8b8ce25a90008))
16
+
17
+
18
+ ### Dependencies
19
+
20
+ * The following workspace dependencies were updated
21
+ * dependencies
22
+ * @twin.org/core bumped from 0.0.1-next.61 to 0.0.1-next.62
23
+ * @twin.org/crypto bumped from 0.0.1-next.61 to 0.0.1-next.62
24
+
25
+ ## [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)
26
+
27
+
28
+ ### Miscellaneous Chores
29
+
30
+ * **cli-core:** Synchronize repo versions
31
+
32
+
33
+ ### Dependencies
34
+
35
+ * The following workspace dependencies were updated
36
+ * dependencies
37
+ * @twin.org/core bumped from 0.0.1-next.60 to 0.0.1-next.61
38
+ * @twin.org/crypto bumped from 0.0.1-next.60 to 0.0.1-next.61
39
+
40
+ ## [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)
41
+
42
+
43
+ ### Features
44
+
45
+ * improve error display in CLI ([94b6ca8](https://github.com/twinfoundation/framework/commit/94b6ca8bdcfe3ca7671c4095b436ea7bddaae98e))
46
+
47
+
48
+ ### Dependencies
49
+
50
+ * The following workspace dependencies were updated
51
+ * dependencies
52
+ * @twin.org/core bumped from 0.0.1-next.59 to 0.0.1-next.60
53
+ * @twin.org/crypto bumped from 0.0.1-next.59 to 0.0.1-next.60
54
+
55
+ ## [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)
56
+
57
+
58
+ ### Miscellaneous Chores
59
+
60
+ * **cli-core:** Synchronize repo versions
61
+
62
+
63
+ ### Dependencies
64
+
65
+ * The following workspace dependencies were updated
66
+ * dependencies
67
+ * @twin.org/core bumped from 0.0.1-next.58 to 0.0.1-next.59
68
+ * @twin.org/crypto bumped from 0.0.1-next.58 to 0.0.1-next.59
69
+
70
+ ## [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)
71
+
72
+
73
+ ### Bug Fixes
74
+
75
+ * framework pr naming convention ([#142](https://github.com/twinfoundation/framework/issues/142)) ([e29acee](https://github.com/twinfoundation/framework/commit/e29acee2fbec42506091956d6ba8b8ce25a90008))
76
+
77
+
78
+ ### Dependencies
79
+
80
+ * The following workspace dependencies were updated
81
+ * dependencies
82
+ * @twin.org/core bumped from 0.0.1-next.57 to 0.0.1-next.58
83
+ * @twin.org/crypto bumped from 0.0.1-next.57 to 0.0.1-next.58
84
+
85
+ ## [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)
86
+
87
+
88
+ ### Features
89
+
90
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
91
+
92
+
93
+ ### Dependencies
94
+
95
+ * The following workspace dependencies were updated
96
+ * dependencies
97
+ * @twin.org/core bumped from 0.0.1-next.56 to 0.0.1-next.57
98
+ * @twin.org/crypto bumped from 0.0.1-next.56 to 0.0.1-next.57
99
+
100
+ ## [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)
101
+
102
+
103
+ ### Miscellaneous Chores
104
+
105
+ * **cli-core:** Synchronize repo versions
106
+
107
+
108
+ ### Dependencies
109
+
110
+ * The following workspace dependencies were updated
111
+ * dependencies
112
+ * @twin.org/core bumped from 0.0.1-next.55 to 0.0.1-next.56
113
+ * @twin.org/crypto bumped from 0.0.1-next.55 to 0.0.1-next.56
114
+
115
+ ## [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)
116
+
117
+
118
+ ### Miscellaneous Chores
119
+
120
+ * **cli-core:** Synchronize repo versions
121
+
122
+
123
+ ### Dependencies
124
+
125
+ * The following workspace dependencies were updated
126
+ * dependencies
127
+ * @twin.org/core bumped from 0.0.1-next.54 to 0.0.1-next.55
128
+ * @twin.org/crypto bumped from 0.0.1-next.54 to 0.0.1-next.55
129
+
130
+ ## [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)
131
+
132
+
133
+ ### Miscellaneous Chores
134
+
135
+ * **cli-core:** Synchronize repo versions
136
+
137
+
138
+ ### Dependencies
139
+
140
+ * The following workspace dependencies were updated
141
+ * dependencies
142
+ * @twin.org/core bumped from 0.0.1-next.53 to 0.0.1-next.54
143
+ * @twin.org/crypto bumped from 0.0.1-next.53 to 0.0.1-next.54
144
+
145
+ ## [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)
146
+
147
+
148
+ ### Miscellaneous Chores
149
+
150
+ * **cli-core:** Synchronize repo versions
151
+
152
+
153
+ ### Dependencies
154
+
155
+ * The following workspace dependencies were updated
156
+ * dependencies
157
+ * @twin.org/core bumped from 0.0.1-next.52 to 0.0.1-next.53
158
+ * @twin.org/crypto bumped from 0.0.1-next.52 to 0.0.1-next.53
159
+
160
+ ## [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)
161
+
162
+
163
+ ### Features
164
+
165
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
166
+
167
+
168
+ ### Dependencies
169
+
170
+ * The following workspace dependencies were updated
171
+ * dependencies
172
+ * @twin.org/core bumped from 0.0.1-next.51 to 0.0.1-next.52
173
+ * @twin.org/crypto bumped from 0.0.1-next.51 to 0.0.1-next.52
174
+
175
+ ## [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)
176
+
177
+
178
+ ### Miscellaneous Chores
179
+
180
+ * **cli-core:** Synchronize repo versions
181
+
182
+
183
+ ### Dependencies
184
+
185
+ * The following workspace dependencies were updated
186
+ * dependencies
187
+ * @twin.org/core bumped from 0.0.1-next.50 to 0.0.1-next.51
188
+ * @twin.org/crypto bumped from 0.0.1-next.50 to 0.0.1-next.51
189
+
190
+ ## [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)
191
+
192
+
193
+ ### Miscellaneous Chores
194
+
195
+ * **cli-core:** Synchronize repo versions
196
+
197
+
198
+ ### Dependencies
199
+
200
+ * The following workspace dependencies were updated
201
+ * dependencies
202
+ * @twin.org/core bumped from 0.0.1-next.49 to 0.0.1-next.50
203
+ * @twin.org/crypto bumped from 0.0.1-next.49 to 0.0.1-next.50
204
+
205
+ ## 0.0.1-next.49
4
206
 
5
207
  - 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
 
@@ -4,13 +4,13 @@ Display utilities for the CLI.
4
4
 
5
5
  ## Constructors
6
6
 
7
- ### new CLIDisplay()
7
+ ### Constructor
8
8
 
9
- > **new CLIDisplay**(): [`CLIDisplay`](CLIDisplay.md)
9
+ > **new CLIDisplay**(): `CLIDisplay`
10
10
 
11
11
  #### Returns
12
12
 
13
- [`CLIDisplay`](CLIDisplay.md)
13
+ `CLIDisplay`
14
14
 
15
15
  ## Properties
16
16
 
@@ -22,10 +22,12 @@ The default output method for writing standard messages.
22
22
 
23
23
  #### Parameters
24
24
 
25
- **buffer**: `string` \| `Uint8Array`
25
+ ##### buffer
26
26
 
27
27
  The message to output.
28
28
 
29
+ `string` | `Uint8Array`\<`ArrayBufferLike`\>
30
+
29
31
  #### Returns
30
32
 
31
33
  `void`
@@ -40,10 +42,12 @@ The default output method for writing error messages.
40
42
 
41
43
  #### Parameters
42
44
 
43
- **buffer**: `string` \| `Uint8Array`
45
+ ##### buffer
44
46
 
45
47
  The message to output.
46
48
 
49
+ `string` | `Uint8Array`\<`ArrayBufferLike`\>
50
+
47
51
  #### Returns
48
52
 
49
53
  `void`
@@ -70,15 +74,21 @@ Display the header for the CLI.
70
74
 
71
75
  #### Parameters
72
76
 
73
- **title**: `string`
77
+ ##### title
78
+
79
+ `string`
74
80
 
75
81
  The title of the CLI.
76
82
 
77
- **version**: `string`
83
+ ##### version
84
+
85
+ `string`
78
86
 
79
87
  The version of the CLI.
80
88
 
81
- **icon**: `string`
89
+ ##### icon
90
+
91
+ `string`
82
92
 
83
93
  The icon for the CLI.
84
94
 
@@ -96,11 +106,15 @@ Display an error message.
96
106
 
97
107
  #### Parameters
98
108
 
99
- **error**: `unknown`
109
+ ##### error
110
+
111
+ `unknown`
100
112
 
101
113
  The error to display.
102
114
 
103
- **lineBreaks**: `boolean` = `true`
115
+ ##### lineBreaks
116
+
117
+ `boolean` = `true`
104
118
 
105
119
  Whether to add a line break after the error.
106
120
 
@@ -118,7 +132,9 @@ Display a section.
118
132
 
119
133
  #### Parameters
120
134
 
121
- **label**: `string`
135
+ ##### label
136
+
137
+ `string`
122
138
 
123
139
  The label for the section.
124
140
 
@@ -136,15 +152,21 @@ Display a value with a label.
136
152
 
137
153
  #### Parameters
138
154
 
139
- **label**: `string`
155
+ ##### label
156
+
157
+ `string`
140
158
 
141
159
  The label for the value.
142
160
 
143
- **value**: `unknown`
161
+ ##### value
162
+
163
+ `unknown`
144
164
 
145
165
  The value to display.
146
166
 
147
- **indentLevel**: `number` = `0`
167
+ ##### indentLevel
168
+
169
+ `number` = `0`
148
170
 
149
171
  The level of indentation.
150
172
 
@@ -156,17 +178,21 @@ The level of indentation.
156
178
 
157
179
  ### task()
158
180
 
159
- > `static` **task**(`label`, `task`?): `void`
181
+ > `static` **task**(`label`, `task?`): `void`
160
182
 
161
183
  Display a task with a label.
162
184
 
163
185
  #### Parameters
164
186
 
165
- **label**: `string`
187
+ ##### label
188
+
189
+ `string`
166
190
 
167
191
  The label for the value.
168
192
 
169
- **task?**: `string`
193
+ ##### task?
194
+
195
+ `string`
170
196
 
171
197
  The task to display.
172
198
 
@@ -196,7 +222,9 @@ Display formatted and colorized JSON.
196
222
 
197
223
  #### Parameters
198
224
 
199
- **obj**: `unknown`
225
+ ##### obj
226
+
227
+ `unknown`
200
228
 
201
229
  The object to display.
202
230
 
@@ -226,15 +254,21 @@ Start the spinner.
226
254
 
227
255
  #### Parameters
228
256
 
229
- **i18nMessage**: `string` = `"cli.progress.pleaseWait"`
257
+ ##### i18nMessage
258
+
259
+ `string` = `"cli.progress.pleaseWait"`
230
260
 
231
261
  The message to display with the spinner.
232
262
 
233
- **spinnerCharacters**: `string`[] = `...`
263
+ ##### spinnerCharacters
264
+
265
+ `string`[] = `...`
234
266
 
235
267
  The characters to use in the spinner.
236
268
 
237
- **interval**: `number` = `100`
269
+ ##### interval
270
+
271
+ `number` = `100`
238
272
 
239
273
  The interval for the spinner.
240
274