@twin.org/cli-core 0.0.1-next.57 → 0.0.1-next.59
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
CHANGED
|
@@ -637,7 +637,7 @@ class CLIParam {
|
|
|
637
637
|
return optionValue;
|
|
638
638
|
}
|
|
639
639
|
/**
|
|
640
|
-
* Check the option to see if
|
|
640
|
+
* Check the option to see if the String exists.
|
|
641
641
|
* @param optionName The name of the option.
|
|
642
642
|
* @param optionValue The option value.
|
|
643
643
|
* @param allowEnvVar Allow the option to be read from an env var.
|
|
@@ -650,7 +650,7 @@ class CLIParam {
|
|
|
650
650
|
return optionValue;
|
|
651
651
|
}
|
|
652
652
|
/**
|
|
653
|
-
* Check the option to see if it a url.
|
|
653
|
+
* Check the option to see if it is a url.
|
|
654
654
|
* @param optionName The name of the option.
|
|
655
655
|
* @param optionValue The option value.
|
|
656
656
|
* @param allowEnvVar Allow the option to be read from an env var.
|
package/dist/esm/index.mjs
CHANGED
|
@@ -616,7 +616,7 @@ class CLIParam {
|
|
|
616
616
|
return optionValue;
|
|
617
617
|
}
|
|
618
618
|
/**
|
|
619
|
-
* Check the option to see if
|
|
619
|
+
* Check the option to see if the String exists.
|
|
620
620
|
* @param optionName The name of the option.
|
|
621
621
|
* @param optionValue The option value.
|
|
622
622
|
* @param allowEnvVar Allow the option to be read from an env var.
|
|
@@ -629,7 +629,7 @@ class CLIParam {
|
|
|
629
629
|
return optionValue;
|
|
630
630
|
}
|
|
631
631
|
/**
|
|
632
|
-
* Check the option to see if it a url.
|
|
632
|
+
* Check the option to see if it is a url.
|
|
633
633
|
* @param optionName The name of the option.
|
|
634
634
|
* @param optionValue The option value.
|
|
635
635
|
* @param allowEnvVar Allow the option to be read from an env var.
|
package/dist/types/cliParam.d.ts
CHANGED
|
@@ -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
|
|
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.
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @twin.org/cli-core - Changelog
|
|
2
2
|
|
|
3
|
+
## [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)
|
|
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.1-next.58 to 0.0.1-next.59
|
|
16
|
+
* @twin.org/crypto bumped from 0.0.1-next.58 to 0.0.1-next.59
|
|
17
|
+
|
|
18
|
+
## [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)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* framework pr naming convention ([#142](https://github.com/twinfoundation/framework/issues/142)) ([e29acee](https://github.com/twinfoundation/framework/commit/e29acee2fbec42506091956d6ba8b8ce25a90008))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Dependencies
|
|
27
|
+
|
|
28
|
+
* The following workspace dependencies were updated
|
|
29
|
+
* dependencies
|
|
30
|
+
* @twin.org/core bumped from 0.0.1-next.57 to 0.0.1-next.58
|
|
31
|
+
* @twin.org/crypto bumped from 0.0.1-next.57 to 0.0.1-next.58
|
|
32
|
+
|
|
3
33
|
## [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)
|
|
4
34
|
|
|
5
35
|
|
|
@@ -56,7 +56,7 @@ An error if the option is invalid.
|
|
|
56
56
|
|
|
57
57
|
> `static` **stringValue**(`optionName`, `optionValue`, `allowEnvVar`): `string`
|
|
58
58
|
|
|
59
|
-
Check the option to see if
|
|
59
|
+
Check the option to see if the String exists.
|
|
60
60
|
|
|
61
61
|
#### Parameters
|
|
62
62
|
|
|
@@ -94,7 +94,7 @@ An error if the option is invalid.
|
|
|
94
94
|
|
|
95
95
|
> `static` **url**(`optionName`, `optionValue`, `allowEnvVar`): `string`
|
|
96
96
|
|
|
97
|
-
Check the option to see if it a url.
|
|
97
|
+
Check the option to see if it is a url.
|
|
98
98
|
|
|
99
99
|
#### Parameters
|
|
100
100
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/cli-core",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.59",
|
|
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.1-next.
|
|
18
|
-
"@twin.org/crypto": "0.0.1-next.
|
|
17
|
+
"@twin.org/core": "0.0.1-next.59",
|
|
18
|
+
"@twin.org/crypto": "0.0.1-next.59",
|
|
19
19
|
"@twin.org/nameof": "next",
|
|
20
20
|
"chalk": "5.4.1",
|
|
21
21
|
"commander": "14.0.0",
|