@twin.org/cli-core 0.0.3-next.23 → 0.0.3-next.25
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/docs/changelog.md +36 -0
- package/docs/reference/classes/CLIDisplay.md +7 -7
- package/docs/reference/classes/CLIParam.md +22 -22
- package/docs/reference/classes/CLIUtils.md +4 -4
- package/docs/reference/interfaces/ICliOptions.md +4 -4
- package/docs/reference/interfaces/ICliOutputOptionsEnv.md +1 -1
- package/docs/reference/interfaces/ICliOutputOptionsJson.md +1 -1
- package/package.json +3 -3
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.25](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.3-next.24...cli-core-v0.0.3-next.25) (2026-03-23)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **cli-core:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/core bumped from 0.0.3-next.24 to 0.0.3-next.25
|
|
16
|
+
* @twin.org/nameof bumped from 0.0.3-next.24 to 0.0.3-next.25
|
|
17
|
+
* devDependencies
|
|
18
|
+
* @twin.org/nameof-transformer bumped from 0.0.3-next.24 to 0.0.3-next.25
|
|
19
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.24 to 0.0.3-next.25
|
|
20
|
+
|
|
21
|
+
## [0.0.3-next.24](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.3-next.23...cli-core-v0.0.3-next.24) (2026-03-19)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* ensure __decorate is defined for decorators ([103a563](https://github.com/twinfoundation/framework/commit/103a563ce01ebdef6240d2e590e7b026e8692684))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Dependencies
|
|
30
|
+
|
|
31
|
+
* The following workspace dependencies were updated
|
|
32
|
+
* dependencies
|
|
33
|
+
* @twin.org/core bumped from 0.0.3-next.23 to 0.0.3-next.24
|
|
34
|
+
* @twin.org/nameof bumped from 0.0.3-next.23 to 0.0.3-next.24
|
|
35
|
+
* devDependencies
|
|
36
|
+
* @twin.org/nameof-transformer bumped from 0.0.3-next.23 to 0.0.3-next.24
|
|
37
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.23 to 0.0.3-next.24
|
|
38
|
+
|
|
3
39
|
## [0.0.3-next.23](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.3-next.22...cli-core-v0.0.3-next.23) (2026-03-17)
|
|
4
40
|
|
|
5
41
|
|
|
@@ -14,7 +14,7 @@ Display utilities for the CLI.
|
|
|
14
14
|
|
|
15
15
|
## Properties
|
|
16
16
|
|
|
17
|
-
### write
|
|
17
|
+
### write {#write}
|
|
18
18
|
|
|
19
19
|
> `static` **write**: (`buffer`) => `void`
|
|
20
20
|
|
|
@@ -24,9 +24,9 @@ The default output method for writing standard messages.
|
|
|
24
24
|
|
|
25
25
|
##### buffer
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
`string` \| `Uint8Array`\<`ArrayBufferLike`\>
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
The message to output.
|
|
30
30
|
|
|
31
31
|
#### Returns
|
|
32
32
|
|
|
@@ -34,7 +34,7 @@ The message to output.
|
|
|
34
34
|
|
|
35
35
|
***
|
|
36
36
|
|
|
37
|
-
### writeError
|
|
37
|
+
### writeError {#writeerror}
|
|
38
38
|
|
|
39
39
|
> `static` **writeError**: (`buffer`) => `void`
|
|
40
40
|
|
|
@@ -44,9 +44,9 @@ The default output method for writing error messages.
|
|
|
44
44
|
|
|
45
45
|
##### buffer
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
`string` \| `Uint8Array`\<`ArrayBufferLike`\>
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
The message to output.
|
|
50
50
|
|
|
51
51
|
#### Returns
|
|
52
52
|
|
|
@@ -54,7 +54,7 @@ The message to output.
|
|
|
54
54
|
|
|
55
55
|
***
|
|
56
56
|
|
|
57
|
-
### clearLine
|
|
57
|
+
### clearLine {#clearline}
|
|
58
58
|
|
|
59
59
|
> `static` **clearLine**: () => `void`
|
|
60
60
|
|
|
@@ -30,9 +30,9 @@ The name of the option.
|
|
|
30
30
|
|
|
31
31
|
##### optionValue
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
`string` \| `undefined`
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
The option value.
|
|
36
36
|
|
|
37
37
|
##### allowEnvVar
|
|
38
38
|
|
|
@@ -68,9 +68,9 @@ The name of the option.
|
|
|
68
68
|
|
|
69
69
|
##### optionValue
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
`string` \| `undefined`
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
The option value.
|
|
74
74
|
|
|
75
75
|
##### allowEnvVar?
|
|
76
76
|
|
|
@@ -112,9 +112,9 @@ The name of the option.
|
|
|
112
112
|
|
|
113
113
|
##### optionValue
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
`string` \| `undefined`
|
|
116
116
|
|
|
117
|
-
|
|
117
|
+
The option value.
|
|
118
118
|
|
|
119
119
|
##### validValues
|
|
120
120
|
|
|
@@ -156,9 +156,9 @@ The name of the option.
|
|
|
156
156
|
|
|
157
157
|
##### optionValue
|
|
158
158
|
|
|
159
|
-
|
|
159
|
+
`string` \| `undefined`
|
|
160
160
|
|
|
161
|
-
|
|
161
|
+
The option value.
|
|
162
162
|
|
|
163
163
|
##### allowEnvVar?
|
|
164
164
|
|
|
@@ -194,9 +194,9 @@ The name of the option.
|
|
|
194
194
|
|
|
195
195
|
##### optionValue
|
|
196
196
|
|
|
197
|
-
|
|
197
|
+
`string` \| `undefined`
|
|
198
198
|
|
|
199
|
-
|
|
199
|
+
The option value.
|
|
200
200
|
|
|
201
201
|
##### allowEnvVar?
|
|
202
202
|
|
|
@@ -244,9 +244,9 @@ The name of the option.
|
|
|
244
244
|
|
|
245
245
|
##### optionValue
|
|
246
246
|
|
|
247
|
-
|
|
247
|
+
`string` \| `undefined`
|
|
248
248
|
|
|
249
|
-
|
|
249
|
+
The option value.
|
|
250
250
|
|
|
251
251
|
##### allowEnvVar?
|
|
252
252
|
|
|
@@ -294,9 +294,9 @@ The name of the option.
|
|
|
294
294
|
|
|
295
295
|
##### optionValue
|
|
296
296
|
|
|
297
|
-
|
|
297
|
+
`string` \| `undefined`
|
|
298
298
|
|
|
299
|
-
|
|
299
|
+
The option value.
|
|
300
300
|
|
|
301
301
|
##### allowEnvVar?
|
|
302
302
|
|
|
@@ -344,9 +344,9 @@ The name of the option.
|
|
|
344
344
|
|
|
345
345
|
##### optionValue
|
|
346
346
|
|
|
347
|
-
|
|
347
|
+
`string` \| `undefined`
|
|
348
348
|
|
|
349
|
-
|
|
349
|
+
The option value.
|
|
350
350
|
|
|
351
351
|
##### allowEnvVar?
|
|
352
352
|
|
|
@@ -382,9 +382,9 @@ The name of the option.
|
|
|
382
382
|
|
|
383
383
|
##### optionValue
|
|
384
384
|
|
|
385
|
-
|
|
385
|
+
`string` \| `undefined`
|
|
386
386
|
|
|
387
|
-
|
|
387
|
+
The option value.
|
|
388
388
|
|
|
389
389
|
##### allowEnvVar?
|
|
390
390
|
|
|
@@ -420,9 +420,9 @@ The name of the option.
|
|
|
420
420
|
|
|
421
421
|
##### optionValue
|
|
422
422
|
|
|
423
|
-
|
|
423
|
+
`string` \| `undefined`
|
|
424
424
|
|
|
425
|
-
|
|
425
|
+
The option value.
|
|
426
426
|
|
|
427
427
|
##### allowEnvVar?
|
|
428
428
|
|
|
@@ -458,9 +458,9 @@ The name of the option.
|
|
|
458
458
|
|
|
459
459
|
##### optionValue
|
|
460
460
|
|
|
461
|
-
|
|
461
|
+
`string` \| `undefined`
|
|
462
462
|
|
|
463
|
-
|
|
463
|
+
The option value.
|
|
464
464
|
|
|
465
465
|
##### allowEnvVar?
|
|
466
466
|
|
|
@@ -308,9 +308,9 @@ Write a JSON file.
|
|
|
308
308
|
|
|
309
309
|
##### jsonFilename
|
|
310
310
|
|
|
311
|
-
|
|
311
|
+
`string` \| `undefined`
|
|
312
312
|
|
|
313
|
-
|
|
313
|
+
The filename to write.
|
|
314
314
|
|
|
315
315
|
##### data
|
|
316
316
|
|
|
@@ -340,9 +340,9 @@ Write an env file.
|
|
|
340
340
|
|
|
341
341
|
##### envFilename
|
|
342
342
|
|
|
343
|
-
|
|
343
|
+
`string` \| `undefined`
|
|
344
344
|
|
|
345
|
-
|
|
345
|
+
The filename to write.
|
|
346
346
|
|
|
347
347
|
##### data
|
|
348
348
|
|
|
@@ -38,7 +38,7 @@ The icon for the CLI as an emoji character.
|
|
|
38
38
|
|
|
39
39
|
### supportsLang? {#supportslang}
|
|
40
40
|
|
|
41
|
-
> `optional` **supportsLang
|
|
41
|
+
> `optional` **supportsLang?**: `boolean`
|
|
42
42
|
|
|
43
43
|
Supports different languages.
|
|
44
44
|
|
|
@@ -46,7 +46,7 @@ Supports different languages.
|
|
|
46
46
|
|
|
47
47
|
### supportsEnvFiles? {#supportsenvfiles}
|
|
48
48
|
|
|
49
|
-
> `optional` **supportsEnvFiles
|
|
49
|
+
> `optional` **supportsEnvFiles?**: `boolean`
|
|
50
50
|
|
|
51
51
|
Supports the loading of env files.
|
|
52
52
|
|
|
@@ -54,7 +54,7 @@ Supports the loading of env files.
|
|
|
54
54
|
|
|
55
55
|
### overrideOutputWidth? {#overrideoutputwidth}
|
|
56
56
|
|
|
57
|
-
> `optional` **overrideOutputWidth
|
|
57
|
+
> `optional` **overrideOutputWidth?**: `number`
|
|
58
58
|
|
|
59
59
|
Override the default output width.
|
|
60
60
|
|
|
@@ -62,6 +62,6 @@ Override the default output width.
|
|
|
62
62
|
|
|
63
63
|
### showDevToolWarning? {#showdevtoolwarning}
|
|
64
64
|
|
|
65
|
-
> `optional` **showDevToolWarning
|
|
65
|
+
> `optional` **showDevToolWarning?**: `boolean`
|
|
66
66
|
|
|
67
67
|
Show a warning that this is a dev tool and not for production use.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/cli-core",
|
|
3
|
-
"version": "0.0.3-next.
|
|
3
|
+
"version": "0.0.3-next.25",
|
|
4
4
|
"description": "Core classes for building a CLI",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/core": "0.0.3-next.
|
|
18
|
-
"@twin.org/nameof": "0.0.3-next.
|
|
17
|
+
"@twin.org/core": "0.0.3-next.25",
|
|
18
|
+
"@twin.org/nameof": "0.0.3-next.25",
|
|
19
19
|
"chalk": "5.6.2",
|
|
20
20
|
"commander": "14.0.3",
|
|
21
21
|
"dotenv": "17.3.1"
|